From 60a5164bc4ddc0ffd270462efbe25a9ad836ca86 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 21 Dec 2022 16:56:43 -0500 Subject: [PATCH] Added some humor to the briefings --- templates/speech/daily_briefing.yaml | 5 ++++- templates/speech/kallen_nightly_briefing.yaml | 4 ++++ templates/speech/morning_briefing.yaml | 4 ++++ templates/speech/nightly_briefing.yaml | 4 ++++ templates/speech/welcome_home.yaml | 4 ++++ 5 files changed, 20 insertions(+), 1 deletion(-) diff --git a/templates/speech/daily_briefing.yaml b/templates/speech/daily_briefing.yaml index 8cecc9e..fba5302 100644 --- a/templates/speech/daily_briefing.yaml +++ b/templates/speech/daily_briefing.yaml @@ -156,7 +156,6 @@ 'until Halloween. It might not be enough time.', 'until you need a costume.' ] | random }} - {% else %} {% endif %} {% if states.sensor.christmas_countdown.state | int == 1 %} @@ -601,6 +600,10 @@ {% endif %}

+

+ Here is a random dad joke {{ states('sensor.random_joke') }} +

+

{% if is_state('input_boolean.briefing_extras','on') %} "And now we have the following extra information to pass along. {{ states('input_text.briefing_extras') }} " diff --git a/templates/speech/kallen_nightly_briefing.yaml b/templates/speech/kallen_nightly_briefing.yaml index 4ffcac3..0a4e8ac 100644 --- a/templates/speech/kallen_nightly_briefing.yaml +++ b/templates/speech/kallen_nightly_briefing.yaml @@ -95,6 +95,10 @@ ] | random }}

+

+ Just for you, here is a random dad joke {{ states('sensor.random_joke') }} +

+

{% if is_state('input_boolean.kallen_briefing_extras','on') %} "And now we have the following extra information to pass along. {{ states('input_text.kallen_briefing_extras') }} " diff --git a/templates/speech/morning_briefing.yaml b/templates/speech/morning_briefing.yaml index 3da63b8..07cddb9 100644 --- a/templates/speech/morning_briefing.yaml +++ b/templates/speech/morning_briefing.yaml @@ -231,6 +231,10 @@ {% endif %}

+

+ Here is a random dad joke {{ states('sensor.random_joke') }} +

+

{% if is_state('input_boolean.briefing_extras','on') %} "And now we have the following extra information to pass along. {{ states('input_text.briefing_extras') }} " diff --git a/templates/speech/nightly_briefing.yaml b/templates/speech/nightly_briefing.yaml index 8f7c5d2..e3a7a2b 100644 --- a/templates/speech/nightly_briefing.yaml +++ b/templates/speech/nightly_briefing.yaml @@ -388,6 +388,10 @@ {% endif %}

+

+ Here is a random dad joke {{ states('sensor.random_joke') }} +

+

{% if is_state('input_boolean.briefing_extras','on') %} "And now we have the following extra information to pass along. {{ states('input_text.briefing_extras') }} " diff --git a/templates/speech/welcome_home.yaml b/templates/speech/welcome_home.yaml index 5962c73..0553ba4 100644 --- a/templates/speech/welcome_home.yaml +++ b/templates/speech/welcome_home.yaml @@ -157,6 +157,10 @@ {% endif %}

+

+ Here is a random dad joke {{ states('sensor.random_joke') }} +

+

{% if is_state('input_boolean.briefing_extras','on') %} "And now we have the following extra information to pass along. {{ states('input_text.briefing_extras') }} "