From aab01b46f440c2068436d1b93348fd5b9cec8a18 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sat, 18 Nov 2023 23:09:24 -0500 Subject: [PATCH] Fix briefings not playing due to invalid data --- automations.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/automations.yaml b/automations.yaml index 5169751..095a615 100644 --- a/automations.yaml +++ b/automations.yaml @@ -2837,10 +2837,11 @@ alias: Daily Briefing sequence: - service: script.daily_briefing - data: '{{ ''alexa_everywhere'' if is_state(''binary_sensor.master_bedroom_occupied'',''on'') - else ''common'' }} + data: + who: '{{ ''alexa_everywhere'' if is_state(''binary_sensor.master_bedroom_occupied'',''on'') + else ''common'' }} - ' + ' alias: Run daily briefing script - conditions: - condition: and @@ -2853,10 +2854,11 @@ alias: Nightly Briefing sequence: - service: script.nightly_briefing - data: '{{ ''alexa_everywhere'' if is_state(''binary_sensor.master_bedroom_occupied'',''on'') - else ''common'' }} + data: + who: '{{ ''alexa_everywhere'' if is_state(''binary_sensor.master_bedroom_occupied'',''on'') + else ''common'' }} - ' + ' alias: Run nightly briefing script mode: single - id: '1696362140540'