mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
39 lines
842 B
YAML
39 lines
842 B
YAML
alias: Clint Wakeup
|
|
id: automation_clint_wake_up
|
|
mode: restart
|
|
#description:
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.morning
|
|
to: "on"
|
|
- platform: state
|
|
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_right
|
|
to: "on"
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_boolean.clint_home
|
|
state: "on"
|
|
- condition: state
|
|
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_right
|
|
state: "on"
|
|
- condition: state
|
|
entity_id: binary_sensor.morning
|
|
state: "on"
|
|
- condition: state
|
|
entity_id: binary_sensor.is_workday
|
|
state: "on"
|
|
|
|
action:
|
|
- action: input_select.select_option
|
|
data:
|
|
entity_id: input_select.master_bedroom_mode
|
|
option: "Auto"
|
|
|
|
- action: homeassistant.turn_on
|
|
data:
|
|
entity_id: light.master_bedroom_hue
|
|
|
|
- delay: "00:30:00"
|