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

32 lines
625 B
YAML

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