Added washer door sensor cancel washer notification
This commit is contained in:
parent
461539dd42
commit
5da5aa3bc0
|
@ -50,6 +50,22 @@
|
||||||
- service: input_boolean.turn_on
|
- service: input_boolean.turn_on
|
||||||
entity_id: input_boolean.washer_notification
|
entity_id: input_boolean.washer_notification
|
||||||
|
|
||||||
|
- alias: Washer Emptied
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: binary_sensor.washer_door
|
||||||
|
from: 'off'
|
||||||
|
to: 'on'
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.washer_notification
|
||||||
|
state: 'on'
|
||||||
|
action:
|
||||||
|
- service: homeassistant.turn_off
|
||||||
|
entity_id: script.washer_finished_notification
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
entity_id: input_boolean.washer_notification
|
||||||
|
|
||||||
- alias: Washer Notification
|
- alias: Washer Notification
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
|
@ -60,8 +76,9 @@
|
||||||
entity_id: sensor.family_status
|
entity_id: sensor.family_status
|
||||||
state: home
|
state: home
|
||||||
action:
|
action:
|
||||||
- service: script.washer_finished_notification
|
- service: homeassistant.turn_on
|
||||||
|
entity_id: script.washer_finished_notification
|
||||||
|
|
||||||
- alias: Get Dressed Skylar
|
- alias: Get Dressed Skylar
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
|
|
|
@ -4,7 +4,7 @@ washer_finished_notification:
|
||||||
entity_id: input_boolean.washer_notification
|
entity_id: input_boolean.washer_notification
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- delay:
|
- delay:
|
||||||
minutes: 3
|
minutes: 45
|
||||||
- service: notify.all_ios
|
- service: notify.all_ios
|
||||||
data:
|
data:
|
||||||
message: "Washer is done"
|
message: "Washer is done"
|
||||||
|
|
Loading…
Reference in New Issue