Upgrade speech - wait for SARAH to stop talking

This commit is contained in:
2020-03-08 13:04:57 +02:00
parent 2320d5a924
commit 67cca3fa38
3 changed files with 33 additions and 8 deletions
+7 -1
View File
@@ -4,12 +4,17 @@ script:
sequence:
- service: fan.turn_off
entity_id: fan.philips_airpurifier
- service: script.routine_morning_briefing
- delay: 00:00:35
- wait_template: "{{ is_state('input_boolean.sarah_talking', 'off') }}"
timeout: 00:02:00
- delay: 00:00:01
- service: script.say
data:
message: "Here's some music to start the day!"
- delay: 00:00:02
- service: script.music_play
routine_morning_briefing:
@@ -21,6 +26,7 @@ script:
- !include ../../templates/partials/greeting.yaml
- !include ../../templates/partials/time.yaml
- >-
{{
[
"Here's your briefing for today!",