id: set_house_to_morning alias: Set House to Morning mode: single trigger: - platform: state entity_id: binary_sensor.morning to: 'on' condition: - condition: or conditions: - condition: state entity_id: binary_sensor.morning state: 'on' - condition: state entity_id: input_select.time_of_day state: Morning action: - service: input_select.select_option data: entity_id: input_select.time_of_day option: Morning - service: homeassistant.turn_off entity_id: input_boolean.nursery_asleep - delay: '00:00:30'