2018-03-06 16:10:52 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
# Events
|
|
|
|
#
|
|
|
|
############
|
|
|
|
|
|
|
|
- alias: Trash Morning Notification
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
|
|
|
hours: 6
|
|
|
|
minutes: 0
|
|
|
|
seconds: 0
|
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- tue
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.vacation_mode
|
|
|
|
state: 'off'
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.trash_notification
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: notify.all_ios
|
|
|
|
data:
|
|
|
|
message: Don't forget to it is Trash Day
|
|
|
|
|
|
|
|
- alias: Washer Running
|
|
|
|
trigger:
|
|
|
|
- platform: numeric_state
|
|
|
|
entity_id: sensor.washer_power
|
|
|
|
above: 100
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
entity_id: input_boolean.washer_running
|
|
|
|
|
|
|
|
- alias: Washer Complete
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: sensor.washer_status
|
|
|
|
from: 'running'
|
|
|
|
to: 'idle'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.washer_running
|
|
|
|
state: 'on'
|
|
|
|
action:
|
|
|
|
- service: input_boolean.turn_off
|
|
|
|
entity_id: input_boolean.washer_running
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
entity_id: input_boolean.washer_notification
|
|
|
|
|
|
|
|
- alias: Washer Notification
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: input_boolean.washer_notification
|
|
|
|
to: 'on'
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: sensor.family_status
|
|
|
|
state: home
|
|
|
|
action:
|
|
|
|
- service: script.washer_finished_notification
|
|
|
|
|
|
|
|
- alias: Get Dressed Skylar
|
|
|
|
trigger:
|
|
|
|
- platform: time
|
2018-03-09 00:51:13 +00:00
|
|
|
hours: 7
|
|
|
|
minutes: 58
|
2018-03-06 16:10:52 +00:00
|
|
|
seconds: 0
|
|
|
|
condition:
|
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.guest_mode
|
|
|
|
state: 'off'
|
2018-03-07 01:15:04 +00:00
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.skylar_dressed_alarm
|
|
|
|
state: 'on'
|
2018-03-06 16:10:52 +00:00
|
|
|
action:
|
2018-03-07 01:15:04 +00:00
|
|
|
- service: script.skylar_dressed_alarm
|
2018-03-06 16:10:52 +00:00
|
|
|
|