Files
2025-10-27 16:49:34 -04:00

38 lines
748 B
YAML

id: set_house_to_morning
alias: Set House to Morning
mode: single
# platform: tod
# name: Morning
# after: '06:00'
# before: '09:00'
trigger:
- platform: state
entity_id: binary_sensor.morning
to: "on"
condition:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.morning
state: "on"
- condition: state
entity_id: input_select.time_of_day
state: Morning
action:
- action: input_select.select_option
data:
entity_id: input_select.time_of_day
option: Morning
- action: homeassistant.turn_off
entity_id: input_boolean.boys_room_asleep
- action: homeassistant.turn_off
entity_id: input_boolean.girls_room_asleep
- delay: "00:00:30"