mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-22 17:06:15 +00:00
39 lines
876 B
YAML
Executable File
39 lines
876 B
YAML
Executable File
######################################################################
|
|
## Stuff that needs to happen at 08:30am.
|
|
######################################################################
|
|
|
|
- alias: 'Kids 650.'
|
|
trigger:
|
|
- platform: time
|
|
after: '06:50:00'
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: group.family
|
|
state: home
|
|
- condition: state
|
|
entity_id: input_boolean.school_mode
|
|
state: 'on'
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- tue
|
|
- wed
|
|
- thu
|
|
- fri
|
|
|
|
action:
|
|
- service: light.turn_on
|
|
entity_id:
|
|
- light.d1
|
|
- light.d2
|
|
- group.kitchen_lights
|
|
- service: light.turn_off
|
|
entity_id:
|
|
- group.dining_room_lights
|
|
data:
|
|
transition: 600
|
|
- service: switch.turn_off
|
|
entity_id: switch.kitchen_accents
|
|
- delay: 01:00:00
|