From 9b211a0c0c761d73f5a234f6aa768121b8dadd6c Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Tue, 1 Mar 2022 22:10:39 -0500 Subject: [PATCH] Changed weather sensors around so had to update some stuff --- config/templates/speech/daily_briefing.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config/templates/speech/daily_briefing.yaml b/config/templates/speech/daily_briefing.yaml index 9a1d163..5974b84 100755 --- a/config/templates/speech/daily_briefing.yaml +++ b/config/templates/speech/daily_briefing.yaml @@ -62,9 +62,9 @@ {% endif %} {% if is_state('binary_sensor.evening','on') %} - The overnight forecast says we can expect {{ states.sensor.nws_overnight_forecast.state }} + The overnight forecast says we can expect {{ state_attr('sensor.overnight_forecast','description') }} {% else %} - The current forecast says we should expect {{ states.sensor.nws_current_forecast.state }} + The current forecast says we should expect {{ state_attr('sensor.current_forecast','description') }} {% if is_state('input_boolean.freeze_warning','on') %} And based on the forecasted low, It will be near or below freezing. {{ [ 'So, Someone might want to bring the lemon tree in. ', @@ -219,7 +219,10 @@ And do not forget. Today is also {{states.calendar.anchorage_holidays.attributes.message}}. {% endif %} {% if states.calendar.birthdays.state == 'on' %} - Today is {{ states.calendar.birthdays.attributes.message }}! So Happy Birthday! The confetti cannon is not working otherwise I would shower you in paper garbage that someone else would have to pick up. + Today is {{ states.calendar.birthdays.attributes.message }}! + So Happy Birthday! The confetti cannon is not working + otherwise I would shower you in paper garbage that + someone else would have to pick up. {% endif %} {%- set event=states.calendar.national_holidays.attributes.message %} {% if 'Day' in event and 'National' in event%}