#429 - Only get alerts for Up or DOwn.. not unavailable.
This commit is contained in:
parent
1bad9f07d9
commit
ccb98cb094
|
@ -112,6 +112,14 @@ automation:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: sensor.grid_status
|
entity_id: sensor.grid_status
|
||||||
|
|
||||||
|
condition:
|
||||||
|
condition: or
|
||||||
|
conditions:
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ states('sensor.grid_statuse') == 'True' }}"
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ states('sensor.grid_statuse') == 'False' }}"
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
||||||
data_template:
|
data_template:
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 99 KiB |
Loading…
Reference in New Issue