Update Good Morning and Good Night routines to add in Kid's Hue Gos

pull/76/head
CCOSTAN 9 years ago
parent 502e67c286
commit 651ef5137f

@ -15,7 +15,7 @@
state: home state: home
- condition: state - condition: state
entity_id: input_boolean.school_mode entity_id: input_boolean.school_mode
state: 'off' state: 'on'
- condition: time - condition: time
weekday: weekday:
- mon - mon
@ -37,6 +37,12 @@
- service: switch.turn_on - service: switch.turn_on
entity_id: switch.kitchen_accents entity_id: switch.kitchen_accents
- delay: 00:50:00 - delay: 00:50:00
- service: light.turn_on
entity_id:
- light.justin_go
data:
transition: 3000
color_name: 'Yellow'
# 6:50am now. # 6:50am now.
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
@ -48,16 +54,24 @@
- service: light.turn_off - service: light.turn_off
entity_id: entity_id:
- group.dining_room_lights - group.dining_room_lights
- light.justin_go
data:
transition: 600
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.kitchen_accents entity_id: switch.kitchen_accents
- delay: 01:00:00 - delay: 01:00:00
- service: light.turn_on
entity_id:
- light.Paige_go
data:
transition: 3000
color_name: 'Yellow'
# 7:50am now. # 7:50am now.
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- group.kitchen_lights - group.kitchen_lights
data: data:
brightness: 200 brightness: 200
- delay: 00:40:00 - delay: 00:40:00
# 8:30am now. # 8:30am now.
- service: light.turn_off - service: light.turn_off

@ -1,18 +1,26 @@
###################################################################### ######################################################################
## Good night Routine ## Good night Routine
###################################################################### ######################################################################
- alias: 'Good Night Routine' - alias: 'Good Night Routine'
trigger: trigger:
- platform: event - platform: event
event_type: good_night event_type: good_night
- platform: state
# condition: entity_id: sensor.samsungtv
# - condition: state state: 'Offline'
# entity_id: group.family
# state: home condition:
- condition: state
action: entity_id: group.family
- service: script.interior_off state: home
- condition: time
after: '20:00:00'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: script.interior_off
Loading…
Cancel
Save

Powered by TurnKey Linux.