Files
fresh-home/automations/people/Clint/Clint_wakeup.yaml
T

39 lines
844 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:
- service: input_select.select_option
data:
entity_id: input_select.master_bedroom_mode
option: 'Auto'
- service: homeassistant.turn_on
data:
entity_id: light.master_bedroom_hue
- delay: '00:30:00'