Files
fresh-home/automations/time_of_day/evening_on.yaml
T
2025-10-27 16:49:34 -04:00

32 lines
583 B
YAML

id: set_house_to_evening
alias: Set House to Evening
mode: single
# platform: tod
# name: Evening
# after: '19:00'
# before: '22:00'
trigger:
- platform: state
entity_id: binary_sensor.evening
to: "on"
condition:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.evening
state: "on"
- condition: state
entity_id: input_select.time_of_day
state: Evening
action:
- action: input_select.select_option
data:
entity_id: input_select.time_of_day
option: Evening
- delay: "00:00:30"