mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
Introduce functions. Separate briefing as routine
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
script:
|
||||
routine_briefing:
|
||||
alias: Routine - Briefing
|
||||
sequence:
|
||||
- service: media_player.volume_set
|
||||
entity_id: media_player.master_bedroom
|
||||
data:
|
||||
volume_level: 0.3
|
||||
- service: script.talk
|
||||
data_template:
|
||||
message: !include ../../templates/briefing.yaml
|
||||
@@ -2,11 +2,7 @@ script:
|
||||
routine_waking_up:
|
||||
alias: Routine - Waking up
|
||||
sequence:
|
||||
- service: media_player.volume_set
|
||||
entity_id: media_player.master_bedroom
|
||||
data:
|
||||
volume_level: 0.3
|
||||
- service: script.sarah_briefing
|
||||
- service: script.routine_briefing
|
||||
- delay: "00:00:25"
|
||||
- service: script.talk
|
||||
data:
|
||||
|
||||
Reference in New Issue
Block a user