mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 01:52:11 +00:00
Update Good Morning and Good Night routines to add in Kid's Hue Gos
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
state: home
|
||||
- condition: state
|
||||
entity_id: input_boolean.school_mode
|
||||
state: 'off'
|
||||
state: 'on'
|
||||
- condition: time
|
||||
weekday:
|
||||
- mon
|
||||
@@ -37,6 +37,12 @@
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.kitchen_accents
|
||||
- delay: 00:50:00
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.justin_go
|
||||
data:
|
||||
transition: 3000
|
||||
color_name: 'Yellow'
|
||||
# 6:50am now.
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
@@ -48,16 +54,24 @@
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- group.dining_room_lights
|
||||
- light.justin_go
|
||||
data:
|
||||
transition: 600
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.kitchen_accents
|
||||
- delay: 01:00:00
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.Paige_go
|
||||
data:
|
||||
transition: 3000
|
||||
color_name: 'Yellow'
|
||||
# 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
|
||||
|
||||
@@ -1,18 +1,26 @@
|
||||
######################################################################
|
||||
## Good night Routine
|
||||
######################################################################
|
||||
|
||||
- alias: 'Good Night Routine'
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: good_night
|
||||
|
||||
# condition:
|
||||
# - condition: state
|
||||
# entity_id: group.family
|
||||
# state: home
|
||||
|
||||
action:
|
||||
- service: script.interior_off
|
||||
|
||||
######################################################################
|
||||
## Good night Routine
|
||||
######################################################################
|
||||
|
||||
- alias: 'Good Night Routine'
|
||||
trigger:
|
||||
- platform: event
|
||||
event_type: good_night
|
||||
- platform: state
|
||||
entity_id: sensor.samsungtv
|
||||
state: 'Offline'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: home
|
||||
- condition: time
|
||||
after: '20:00:00'
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
|
||||
action:
|
||||
- service: script.interior_off
|
||||
|
||||
|
||||
Reference in New Issue
Block a user