mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
38 lines
790 B
YAML
38 lines
790 B
YAML
alias: Clint Wakeup
|
|
id: automation_clint_wake_up
|
|
mode: restart
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.morning
|
|
to: 'on'
|
|
- platform: state
|
|
entity_id: binary_sensor.master_bed_occupied
|
|
to: 'on'
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_boolean.clint_home
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.master_bed_occupied
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.morning
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: binary_sensor.work_day
|
|
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'
|