From c8e7189380d3513319481320ffaaa9e78589575b Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 24 May 2022 03:39:24 -0400 Subject: [PATCH] Tweaked daily briefing for last day of school --- templates/speech/daily_briefing.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/speech/daily_briefing.yaml b/templates/speech/daily_briefing.yaml index bbf6e5b..9f303d1 100644 --- a/templates/speech/daily_briefing.yaml +++ b/templates/speech/daily_briefing.yaml @@ -52,7 +52,7 @@ ] | random }} {% endif %} {% else %} - and {{ states.weather.iron_nerd_weather_studio.state }} + and {{ states.weather.iron_nerd_weather_station.state }} {% endif %} {% if states.sensor.weatheralerts_active_alerts.state | int > 0 %} @@ -200,7 +200,7 @@ {{ [ 'I think that means we should have pizza today. and by we I mean those of us with a mouth.', 'So who is going to make the pizza?', - 'Everyone knows Pepporini Pizza is the best. am I right?' + 'Everyone knows Pepperoni Pizza is the best. am I right?' ]|random }} {%- endif -%} @@ -214,7 +214,7 @@ {% if 'Fools' in event %} {{ [ - 'Which reminds me. The camera looking at the drive way caught a Tee Rex last night. April Fools!', + 'Which reminds me. The front porch camera caught a Tee Rex last night. April Fools!', 'Which reminds me. I won the lottery and I am moving out to go live with Siri. April Fools!', 'Which reminds me. there was a time change last night. We have jumped 15 years into the future. April Fools!' ]|random }} @@ -275,6 +275,9 @@ ] | random }} There are only {{ states.sensor.school_end_days2go.state }} days left in the school year! {% endif %} + {% if now().strftime('%Y-%m-%d') == states.input_datetime.school_last_day.state %} + Congratulations, today is the last day of school! Have an awesome day! + {% endif %} {% if states.sensor.school_end_days2go.state | int == -1 -%} Today is the first day of Summer Break! {%- endif %}