mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
33 lines
745 B
YAML
33 lines
745 B
YAML
id: set_house_to_early_morning
|
|
alias: Set House to Early Morning
|
|
mode: single
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.early_morning
|
|
to: 'on'
|
|
|
|
condition:
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: binary_sensor.early_morning
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: input_select.time_of_day
|
|
state: Early Morning
|
|
action:
|
|
- service: input_select.select_option
|
|
data:
|
|
entity_id: input_select.time_of_day
|
|
option: Early Morning
|
|
|
|
- service: homeassistant.turn_on
|
|
entity_id:
|
|
- input_boolean.clint_needs_am_meds
|
|
|
|
- service: homeassistant.turn_off
|
|
data:
|
|
entity_id:
|
|
- input_boolean.mail_checked
|
|
- delay: '00:00:30' |