Improve speech. Group lights and windows

This commit is contained in:
2020-03-08 02:16:38 +02:00
parent 1ecfc9166e
commit 4daa60d782
8 changed files with 57 additions and 36 deletions
+15 -8
View File
@@ -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
}}
+3 -2
View File
@@ -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
- >-
{{
[