Add LinkTap battery to maintenance view monitoring
This commit is contained in:
@@ -1929,4 +1929,28 @@ sections:
|
||||
card:
|
||||
type: tile
|
||||
entity: sensor.annes_havesensor_soil_battery_4
|
||||
name: Havesensor 4 batteri
|
||||
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
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user