Cleaning up washer notification so it doesnt exec if its already running
This commit is contained in:
parent
f99708d81d
commit
35bb82b4f2
|
@ -4,6 +4,15 @@
|
||||||
- above: 5
|
- above: 5
|
||||||
entity_id: sensor.washer_power
|
entity_id: sensor.washer_power
|
||||||
platform: numeric_state
|
platform: numeric_state
|
||||||
|
condition:
|
||||||
|
condition: or
|
||||||
|
conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: sensor.washer_status
|
||||||
|
state: idle
|
||||||
|
- condition: state
|
||||||
|
entity_id: sensor.washer_status
|
||||||
|
state: complete
|
||||||
action:
|
action:
|
||||||
- service: script.washer_running
|
- service: script.washer_running
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
|
Loading…
Reference in New Issue