mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
Improve speech. Group lights and windows
This commit is contained in:
@@ -41,15 +41,22 @@ script:
|
||||
entity_id: media_player.master_bedroom
|
||||
data:
|
||||
volume_level: 0.5
|
||||
- service: script.talk_with_partials
|
||||
- service: script.talk
|
||||
data_template:
|
||||
partials:
|
||||
- !include ../../templates/partials/greeting.yaml
|
||||
- !include ../../templates/partials/time.yaml
|
||||
- "Here's the current status:"
|
||||
- !include ../../templates/partials/window_check.yaml
|
||||
- >-
|
||||
{{
|
||||
[
|
||||
"I'll play some music.",
|
||||
"Here's some music."
|
||||
] | random
|
||||
}}
|
||||
- delay: "00:00:02"
|
||||
- service: script.talk
|
||||
data_template:
|
||||
message: >-
|
||||
|
||||
{{
|
||||
[
|
||||
"I'll put some music on.",
|
||||
"I'll play some music.",
|
||||
"Here's some music."
|
||||
] | random
|
||||
}}
|
||||
|
||||
@@ -21,11 +21,12 @@ script:
|
||||
- service: media_player.volume_set
|
||||
entity_id: media_player.master_bedroom
|
||||
data:
|
||||
volume_level: 0.3
|
||||
- service: script.talk_with_partials
|
||||
volume_level: 0.5
|
||||
- service: script.talk
|
||||
data_template:
|
||||
partials:
|
||||
- !include ../../templates/partials/greeting.yaml
|
||||
- !include ../../templates/partials/time.yaml
|
||||
- >-
|
||||
{{
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user