2018-01-02 00:00:45 +00:00
|
|
|
######################################################################
|
|
|
|
## Stuff that needs to happen at 08:30am.
|
|
|
|
######################################################################
|
|
|
|
|
2020-08-19 16:09:23 +00:00
|
|
|
- alias: 'Kids 700'
|
2020-07-20 18:33:03 +00:00
|
|
|
id: 3e0c4f40-0d55-42a0-9af9-37124b1b9b8b
|
2020-08-19 16:09:23 +00:00
|
|
|
mode: single
|
2018-01-02 00:00:45 +00:00
|
|
|
trigger:
|
|
|
|
- platform: time
|
2023-10-02 18:55:06 +00:00
|
|
|
at: '08:30:00'
|
2018-01-02 00:00:45 +00: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:
|
2023-06-19 20:12:32 +00:00
|
|
|
- service: homeassistant.turn_on
|
2018-01-02 00:00:45 +00:00
|
|
|
entity_id:
|
|
|
|
- light.d1
|
|
|
|
- light.d2
|
2023-06-19 20:12:32 +00:00
|
|
|
- switch.office_lamp_switch_socket
|
2018-01-02 00:00:45 +00:00
|
|
|
- service: light.turn_off
|
|
|
|
entity_id:
|
2020-06-07 20:06:43 +00:00
|
|
|
- light.dining_room_lights
|
2018-01-02 00:00:45 +00:00
|
|
|
|
|
|
|
- wait_template: >-
|
|
|
|
{{ states.sun.sun.state == 'above_horizon' }}
|
2018-08-23 21:55:38 +00:00
|
|
|
- service: homeassistant.turn_off
|
|
|
|
entity_id:
|
2020-08-19 16:09:23 +00:00
|
|
|
- group.kitchen_accents
|
|
|
|
- service: light.turn_off
|
|
|
|
entity_id: all
|