tsys1_triplite entities replace the never-real tsys9_ups_status ghost references; battery-low trigger gains the triplite charge. dev only - release push pending founder go. https://projects.knownelement.com/issues/372
This commit is contained in:
+4
-3
@@ -4,7 +4,7 @@
|
|||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.tsys1_ups_status
|
- sensor.tsys1_ups_status
|
||||||
- sensor.tsys9_ups_status
|
- sensor.tsys1_triplite_status
|
||||||
conditions:
|
conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ ''On Battery'' in states(trigger.entity_id) }}'
|
value_template: '{{ ''On Battery'' in states(trigger.entity_id) }}'
|
||||||
@@ -28,6 +28,7 @@
|
|||||||
- trigger: numeric_state
|
- trigger: numeric_state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.tsys1_ups_battery_charge
|
- sensor.tsys1_ups_battery_charge
|
||||||
|
- sensor.tsys1_triplite_battery_charge
|
||||||
below: 40
|
below: 40
|
||||||
conditions:
|
conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
@@ -52,7 +53,7 @@
|
|||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.tsys1_ups_status
|
- sensor.tsys1_ups_status
|
||||||
- sensor.tsys9_ups_status
|
- sensor.tsys1_triplite_status
|
||||||
to: unavailable
|
to: unavailable
|
||||||
for: 00:05:00
|
for: 00:05:00
|
||||||
actions:
|
actions:
|
||||||
@@ -97,7 +98,7 @@
|
|||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.tsys1_ups_status
|
- sensor.tsys1_ups_status
|
||||||
- sensor.tsys9_ups_status
|
- sensor.tsys1_triplite_status
|
||||||
conditions:
|
conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ trigger.from_state is not none and 'On Battery' in trigger.from_state.state\n
|
value_template: "{{ trigger.from_state is not none and 'On Battery' in trigger.from_state.state\n
|
||||||
|
|||||||
Reference in New Issue
Block a user