#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
|
||||
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:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 99 KiB |
Loading…
Reference in New Issue