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.master_bed_right_occupied to: 'on' condition: - condition: state entity_id: input_boolean.clint_home state: 'on' - condition: state entity_id: binary_sensor.master_bed_right_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'