mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
39 lines
815 B
YAML
39 lines
815 B
YAML
id: set_house_to_early_morning
|
|
alias: Set House to Early Morning
|
|
mode: single
|
|
|
|
# platform: tod
|
|
# name: Early Morning
|
|
# after: '04:00'
|
|
# before: '06:00'
|
|
|
|
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:
|
|
- action: input_select.select_option
|
|
data:
|
|
entity_id: input_select.time_of_day
|
|
option: Early Morning
|
|
|
|
- action: homeassistant.turn_on
|
|
entity_id:
|
|
- input_boolean.clint_needs_am_meds
|
|
|
|
- action: homeassistant.turn_off
|
|
data:
|
|
entity_id:
|
|
- input_boolean.mail_checked
|
|
- delay: "00:00:30"
|