Tilføj garageport sensor batteri til vedligehold-view

This commit is contained in:
2026-04-17 08:04:18 +02:00
parent 66e28ce68f
commit ba49056764
2 changed files with 25 additions and 1 deletions
+24 -1
View File
@@ -1577,4 +1577,27 @@ sections:
card:
type: tile
entity: sensor.hojre_battery
name: Gardin hojre
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
+1
View File
@@ -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
}}