From b8e85993c8dcb77d2017a34fbc2e4b3e5b49aec2 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 28 Feb 2023 13:15:37 -0500 Subject: [PATCH] Streaming notification tweaks --- templates/speech/daily_briefing.yaml | 1 - templates/speech/morning_briefing.yaml | 12 ++++++++++++ templates/speech/nightly_briefing.yaml | 1 - 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/templates/speech/daily_briefing.yaml b/templates/speech/daily_briefing.yaml index 4dc5b54..0b40ec1 100644 --- a/templates/speech/daily_briefing.yaml +++ b/templates/speech/daily_briefing.yaml @@ -302,7 +302,6 @@ {% if is_state('input_boolean.tony_streaming_today','on') %} {{ [ - "Tony will be streaming tonight. ", "Tony will be pretending to be a real content creator tonight. ", "Tony will be doing his best to defeat his impostor syndrome tonight. ", "Tony will be playing video games and yelling into a microphone tonight. ", diff --git a/templates/speech/morning_briefing.yaml b/templates/speech/morning_briefing.yaml index a05c9b9..7af91c0 100644 --- a/templates/speech/morning_briefing.yaml +++ b/templates/speech/morning_briefing.yaml @@ -175,6 +175,18 @@ {% endif %}

+

+ {% if is_state('input_boolean.tony_streaming_today','on') %} + {{ [ + "Tony will be pretending to be a real content creator tonight. ", + "Tony will be doing his best to defeat his impostor syndrome tonight. ", + "Tony will be playing video games and yelling into a microphone tonight. ", + "Tony will be scraping out the nickels and dimes tonight for the sake of entertainment. ", + "Tony is not really all that funny, but tonight he will present himself to a crowd of questionable individuals who seem to think that he is. " + ] | random }} The studio is scheduled to go online at {{ (state_attr('input_datetime.tony_streaming_start_time','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " + {% endif %} +

+

{% if is_state('input_boolean.sports_updates','on') %} {% if is_state('sensor.michigan_wolverines','PRE') %} diff --git a/templates/speech/nightly_briefing.yaml b/templates/speech/nightly_briefing.yaml index 87a2c7c..93c91f9 100644 --- a/templates/speech/nightly_briefing.yaml +++ b/templates/speech/nightly_briefing.yaml @@ -26,7 +26,6 @@

{% if is_state('input_boolean.tony_streaming_today','on') %} {{ [ - "Tony will be streaming tonight. ", "Tony will be pretending to be a real content creator tonight. ", "Tony will be doing his best to defeat his impostor syndrome tonight. ", "Tony will be playing video games and yelling into a microphone tonight. ",