2016-12-23 18:23:28 +00:00
|
|
|
######################################################################
|
|
|
|
## Weekday Morning Routines for the Wife and Kiddos.
|
|
|
|
######################################################################
|
|
|
|
|
|
|
|
- alias: 'Good Morning Routine'
|
|
|
|
trigger:
|
|
|
|
- platform: event
|
|
|
|
event_type: good_morning
|
|
|
|
- platform: time
|
|
|
|
after: '06:00:00'
|
|
|
|
|
|
|
|
condition:
|
|
|
|
- condition: state
|
|
|
|
entity_id: group.family
|
|
|
|
state: home
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.school_mode
|
2016-12-27 18:08:51 +00:00
|
|
|
state: 'on'
|
2016-12-23 18:23:28 +00:00
|
|
|
- condition: time
|
|
|
|
weekday:
|
|
|
|
- mon
|
|
|
|
- tue
|
|
|
|
- wed
|
|
|
|
- thu
|
|
|
|
- fri
|
|
|
|
|
|
|
|
action:
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id:
|
|
|
|
- light.s1
|
|
|
|
- light.s4
|
|
|
|
data:
|
|
|
|
brightness: 150
|
|
|
|
- service: switch.turn_on
|
|
|
|
entity_id: switch.kitchen_accents
|
|
|
|
- delay: 00:01:00
|
|
|
|
- service: switch.turn_on
|
|
|
|
entity_id: switch.kitchen_accents
|
|
|
|
- delay: 00:50:00
|
2017-01-11 00:54:16 +00:00
|
|
|
|
2016-12-23 18:23:28 +00:00
|
|
|
# 6:50am now.
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id:
|
|
|
|
- light.d1
|
|
|
|
- light.d2
|
|
|
|
- group.kitchen_lights
|
|
|
|
data:
|
|
|
|
brightness: 150
|
|
|
|
- service: light.turn_off
|
|
|
|
entity_id:
|
|
|
|
- group.dining_room_lights
|
2016-12-27 18:08:51 +00:00
|
|
|
data:
|
|
|
|
transition: 600
|
2016-12-23 18:23:28 +00:00
|
|
|
- service: switch.turn_off
|
|
|
|
entity_id: switch.kitchen_accents
|
|
|
|
- delay: 01:00:00
|
2017-01-11 00:54:16 +00:00
|
|
|
|
2016-12-23 18:23:28 +00:00
|
|
|
# 7:50am now.
|
|
|
|
- service: light.turn_on
|
|
|
|
entity_id:
|
|
|
|
- group.kitchen_lights
|
|
|
|
data:
|
|
|
|
brightness: 200
|
|
|
|
- delay: 00:40:00
|
|
|
|
# 8:30am now.
|
|
|
|
- service: light.turn_off
|
|
|
|
entity_id:
|
|
|
|
- group.interior_lights
|
|
|
|
|
|
|
|
|
2016-11-09 23:59:13 +00:00
|
|
|
|