mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
26 lines
517 B
YAML
26 lines
517 B
YAML
id: set_house_to_evening
|
|
alias: Set House to Evening
|
|
mode: single
|
|
|
|
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:
|
|
- service: input_select.select_option
|
|
data:
|
|
entity_id: input_select.time_of_day
|
|
option: Evening
|
|
|
|
- delay: '00:00:30' |