Add LinkTap battery to maintenance view monitoring

This commit is contained in:
2026-06-19 19:35:42 +02:00
parent 7e99c94276
commit 829193425b
2 changed files with 27 additions and 1 deletions
+24
View File
@@ -1930,3 +1930,27 @@ sections:
type: tile
entity: sensor.annes_havesensor_soil_battery_4
name: Havesensor 4 batteri
# LinkTap hovedhane - batteri
- type: conditional
conditions:
- condition: state
entity: input_boolean.vis_alle_vedligehold
state: "on"
card:
type: tile
entity: sensor.hovedhane_linktap_battery
name: Hovedhane (LinkTap) batteri
- type: conditional
conditions:
- condition: state
entity: input_boolean.vis_alle_vedligehold
state: "off"
- condition: numeric_state
entity: sensor.hovedhane_linktap_battery
below: 20
card:
type: tile
entity: sensor.hovedhane_linktap_battery
name: Hovedhane (LinkTap) batteri
+2
View File
@@ -154,6 +154,7 @@
or states('sensor.annes_havesensor_soil_battery_2') | float(9) < 1.2
or states('sensor.annes_havesensor_soil_battery_3') | float(9) < 1.2
or states('sensor.annes_havesensor_soil_battery_4') | float(9) < 1.2
or states('sensor.hovedhane_linktap_battery') | float(100) < 20
}}
- sensor:
@@ -201,6 +202,7 @@
1 if states('sensor.annes_havesensor_soil_battery_2') | float(9) < 1.2 else 0,
1 if states('sensor.annes_havesensor_soil_battery_3') | float(9) < 1.2 else 0,
1 if states('sensor.annes_havesensor_soil_battery_4') | float(9) < 1.2 else 0,
1 if states('sensor.hovedhane_linktap_battery') | float(100) < 20 else 0,
1 if states('sensor.affalddk_norgardsvej_22_restaffald') | float(999) <= 1 else 0,
1 if states('sensor.affalddk_norgardsvej_22_papir_plast') | float(999) <= 1 else 0,
1 if states('sensor.affalddk_norgardsvej_22_haveaffald') | float(999) <= 1 else 0,