From e1de50b0ec8c2ed6b26a95b04659a88b88e87a2e Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Tue, 31 Mar 2020 22:02:00 +0300 Subject: [PATCH] Add delay before morning routine to allow stop to work --- config/packages/routines/waking_up.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/packages/routines/waking_up.yaml b/config/packages/routines/waking_up.yaml index 31587b9..9212b95 100644 --- a/config/packages/routines/waking_up.yaml +++ b/config/packages/routines/waking_up.yaml @@ -8,6 +8,8 @@ script: - service: media_player.media_stop entity_id: media_player.master_bedroom + - delay: 00:00:01 + - service: script.routine_morning_briefing - wait_template: "{{ is_state('input_boolean.sarah_talking', 'off') }}" timeout: 00:02:00 @@ -42,7 +44,8 @@ script: }} - !include ../../templates/partials/master_bedroom_climate.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_suggestions.yaml - !include ../../templates/partials/iss.yaml