Tilføj garageport sensor batteri til vedligehold-view
This commit is contained in:
@@ -1578,3 +1578,26 @@ sections:
|
||||
type: tile
|
||||
entity: sensor.hojre_battery
|
||||
name: Gardin hojre
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: input_boolean.vis_alle_vedligehold
|
||||
state: "on"
|
||||
card:
|
||||
type: tile
|
||||
entity: sensor.garageport_batteri
|
||||
name: Garageport sensor
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- condition: state
|
||||
entity: input_boolean.vis_alle_vedligehold
|
||||
state: "off"
|
||||
- condition: numeric_state
|
||||
entity: sensor.garageport_batteri
|
||||
below: 20
|
||||
card:
|
||||
type: tile
|
||||
entity: sensor.garageport_batteri
|
||||
name: Garageport sensor
|
||||
@@ -216,6 +216,7 @@
|
||||
1 if states('sensor.venstre_battery') | float(100) < 20 else 0,
|
||||
1 if states('sensor.syd_batteri') | float(100) < 20 else 0,
|
||||
1 if states('sensor.hojre_battery') | float(100) < 20 else 0,
|
||||
1 if states('sensor.garageport_batteri') | float(100) < 20 else 0,
|
||||
1 if is_state('lawn_mower.husqvarna_automower', 'error') else 0
|
||||
] | sum
|
||||
}}
|
||||
Reference in New Issue
Block a user