Files
fresh-home/automations/time_of_day/early_afternoon_on.yaml
T
2025-09-10 21:19:03 -04:00

31 lines
720 B
YAML

id: set_house_to_early_afternoon
alias: Set House to Early Afternoon
mode: single
# Testing if this will update, save, and push just fine
trigger:
- platform: state
entity_id: binary_sensor.early_afternoon
to: 'on'
condition:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.early_afternoon
state: 'on'
- condition: state
entity_id: input_select.time_of_day
state: Early Afternoon
action:
# - service: homeassistant.turn_on
# entity_id:
# - input_boolean.clint_needs_pm_meds
- service: input_select.select_option
data:
entity_id: input_select.time_of_day
option: Early Afternoon
- delay: '00:00:30'