script: routine_waking_up: alias: Routine · Waking up sequence: - service: fan.turn_off entity_id: fan.philips_airpurifier - service: media_player.media_stop entity_id: media_player.master_bedroom - delay: 00:00:01 - service: script.routine_morning_briefing - wait_template: "{{ is_state('input_boolean.sarah_talking', 'off') }}" timeout: 00:02:00 - delay: 00:00:01 - service: light.turn_on entity_id: light.hallway data: brightness_pct: 100 - service: light.turn_on entity_id: - light.living_room_ambient - light.bed_led - light.bedside - service: cover.set_cover_position entity_id: cover.living_room data: position: 80 - service: script.shield_screensaver - condition: state entity_id: input_boolean.guest_mode state: "off" - service: script.say data: message: "Here's some music to start the day!" - delay: 00:00:02 - service: script.music_play routine_morning_briefing: alias: Routine · Morning Briefing sequence: - service: script.say data_template: partials: - !include ../../templates/partials/greeting.yaml - !include ../../templates/partials/time.yaml - !include ../../templates/partials/tasks.yaml - >- {{ [ "Here's your briefing for today!", "Here's what's up!", "Here are the updates today!" ] | random }} - !include ../../templates/partials/master_bedroom_climate.yaml - !include ../../templates/partials/outside_forecast.yaml # FIXME: there are more light entities than lights. This count doesn't work # - !include ../../templates/partials/light_check.yaml - !include ../../templates/partials/window_check.yaml - !include ../../templates/partials/window_suggestions.yaml - !include ../../templates/partials/iss.yaml - !include ../../templates/partials/moon.yaml