#429 - Only get alerts for Up or DOwn.. not unavailable.

This commit is contained in:
ccostan 2018-12-06 19:56:36 -05:00
parent 1bad9f07d9
commit ccb98cb094
2 changed files with 8 additions and 0 deletions

View File

@ -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