mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-29 06:48:16 +00:00
56 lines
1.8 KiB
YAML
56 lines
1.8 KiB
YAML
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.tuya_hallway_entrance_lights
|
|
|
|
- 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.sonos_join_bedroom
|
|
- 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
|
|
- >-
|
|
|
|
{{
|
|
[
|
|
"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
|