From 4d0ef3b42902b978a1b953364f6e6fc7d3602a4b Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 14 Sep 2022 11:13:23 -0400 Subject: [PATCH] Will now announce two hour delay and school start time #38 --- templates/speech/kallen_morning_briefing.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/speech/kallen_morning_briefing.yaml b/templates/speech/kallen_morning_briefing.yaml index 15d3913..8b70e2b 100644 --- a/templates/speech/kallen_morning_briefing.yaml +++ b/templates/speech/kallen_morning_briefing.yaml @@ -80,6 +80,10 @@ 'It is a school day. ', ] | random }} {% endif %} + {% if is_state('input_boolean.kallen_two_hour_delay','on') %} + 'You have a two hour delay today. ' + {% endif %} + School today starts at {{ (state_attr('input_datetime.school_day_start','timestamp') | int | timestamp_custom('%I:%M %p' , False)) }} Pickup today will be at {{(state_attr('input_datetime.school_day_end', 'timestamp') | int | timestamp_custom('%I:%M %p', False)) }} {% if 'Early Release' in states('sensor.school_event') %} And It is early dismissal today!