Added washer door sensor cancel washer notification

This commit is contained in:
Jeffrey Stone 2018-03-14 19:02:41 -04:00
parent 461539dd42
commit 5da5aa3bc0
2 changed files with 20 additions and 3 deletions

View File

@ -50,6 +50,22 @@
- service: input_boolean.turn_on
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
trigger:
- platform: state
@ -60,7 +76,8 @@
entity_id: sensor.family_status
state: home
action:
- service: script.washer_finished_notification
- service: homeassistant.turn_on
entity_id: script.washer_finished_notification
- alias: Get Dressed Skylar
trigger:

View File

@ -4,7 +4,7 @@ washer_finished_notification:
entity_id: input_boolean.washer_notification
state: 'on'
- delay:
minutes: 3
minutes: 45
- service: notify.all_ios
data:
message: "Washer is done"