mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
32 lines
632 B
YAML
32 lines
632 B
YAML
id: set_house_to_late_afternoon
|
|
alias: Set House to Late Afternoon
|
|
mode: single
|
|
|
|
# platform: tod
|
|
# name: Late Afternoon
|
|
# after: '15:00'
|
|
# before: '17:00'
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.late_afternoon
|
|
to: "on"
|
|
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.late_afternoon
|
|
state: "on"
|
|
- condition: state
|
|
entity_id: input_select.time_of_day
|
|
state: Late Afternoon
|
|
|
|
action:
|
|
- action: input_select.select_option
|
|
data:
|
|
entity_id: input_select.time_of_day
|
|
option: Late Afternoon
|
|
|
|
- delay: "00:00:30"
|