Add delay before morning routine to allow stop to work

This commit is contained in:
2020-03-31 22:02:00 +03:00
parent ce41234b40
commit e1de50b0ec
+4 -1
View File
@@ -8,6 +8,8 @@ script:
- service: media_player.media_stop - service: media_player.media_stop
entity_id: media_player.master_bedroom entity_id: media_player.master_bedroom
- delay: 00:00:01
- service: script.routine_morning_briefing - service: script.routine_morning_briefing
- wait_template: "{{ is_state('input_boolean.sarah_talking', 'off') }}" - wait_template: "{{ is_state('input_boolean.sarah_talking', 'off') }}"
timeout: 00:02:00 timeout: 00:02:00
@@ -42,7 +44,8 @@ script:
}} }}
- !include ../../templates/partials/master_bedroom_climate.yaml - !include ../../templates/partials/master_bedroom_climate.yaml
- !include ../../templates/partials/outside_forecast.yaml - !include ../../templates/partials/outside_forecast.yaml
- !include ../../templates/partials/light_check.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_check.yaml
- !include ../../templates/partials/window_suggestions.yaml - !include ../../templates/partials/window_suggestions.yaml
- !include ../../templates/partials/iss.yaml - !include ../../templates/partials/iss.yaml