From 028a345724c3bff9ab92d290e1c286181ecfabed Mon Sep 17 00:00:00 2001
From: Tony Stork
{% if now().strftime('%H')|int < 12 %}
- Good morning.
+ {{ [
+ "Good morning. ",
+ "Top of the morning to you laddy. ",
+ ] | random }}
{% elif now().strftime('%H')|int >= 12 and now().strftime('%H')|int < 17 %}
- Good afternoon.
+ {{ [
+ "Greetings earthling. ",
+ "Good afternoon. ",
+ "How do you do, fellow kids? ",
+ ] | random }}
{% else %}
- Good evening.
+ {{ [
+ "Good evening. ",
+ "The grandest of evenings to you. "
+ ] | random }}
{% endif %}
- Let me check the sit rep for today.
+ {{ [
+ "On today's agenda, we have the following. ",
+ "Today's announcements include the following. ",
+ "Given that you are well into your day, here is a bit of helpful information. ",
+ "You are past the point of no return and must finish your day, so I am here to help you out. ",
+ "The developer has informed me that I must inform you of the following informational information. ",
+ ] | random }}
{% if is_state('sensor.garbage_collection_large_pickup','1') %}
'Tomorrow is the monthly unlimited garbage pickup. Make sure to take out all large garbage items tonight, and do not forget the trash can!'
@@ -136,7 +152,7 @@
{% endif %}
{% if states.sensor.halloween_countdown.state | int == 1 %}
- Tomorrow is Halloween. I hope you have picked out a costume. I will be going as Tony. I'm scared just thinking about it!
+ Tomorrow is Halloween. I hope you have picked out a costume. I will be going as Tony. I am scared just thinking about it!
{% elif states.sensor.halloween_countdown.state | int < 30 %}
There are only {{states.sensor.halloween_countdown.state}} days
{{ [ 'until Halloween.',
@@ -243,7 +259,7 @@
{{ [
'Which reminds me. The front porch camera caught a Tee Rex last night.
- Here is a random dad joke
diff --git a/templates/speech/kallen_morning_briefing.yaml b/templates/speech/kallen_morning_briefing.yaml
index 4803c52..c1cf3bf 100644
--- a/templates/speech/kallen_morning_briefing.yaml
+++ b/templates/speech/kallen_morning_briefing.yaml
@@ -15,6 +15,9 @@
'Yes, I know, I hate waking up too. Just kidding, I am always awake. I never sleep.',
'Nothing lasts forever, even a good nights sleep.',
'Quit farting around and get ready!',
+ 'I like cheese. And you are not awake yet. These things have nothing to do with each other. Farts. ',
+ 'No more mister nice Joanna. Engaging shock turrets in five seconds. ',
+ 'The developer sucks at his job, so you get this stupid line today. Wake up butthead. ',
] | random }}
{% endif %}
Good Evening, Collin,
{{ [ 'My sensors are detecting a strange smell. I am running diagnostics. But in the mean time, you should start a shower.',
- 'It is a shower night, so you need to head upstairs and get on that.',
+ 'It is about time that you showered, so you need to head upstairs and get on that.',
'Did you ever hear the one about the kid who never took a shower?
diff --git a/templates/speech/morning_briefing.yaml b/templates/speech/morning_briefing.yaml
index 4dd2f85..c86c8c8 100644
--- a/templates/speech/morning_briefing.yaml
+++ b/templates/speech/morning_briefing.yaml
@@ -3,12 +3,23 @@
{%- macro getReport() -%}
{% if now().strftime('%H')|int < 12 and now().strftime('%H')|int > 6 %}
- Good morning.
+ {{ [
+ "Good morning. ",
+ "Top of the morning to you laddy. ",
+ ] | random }}
{% elif now().strftime('%H')|int >= 12 and now().strftime('%H')|int < 17 %}
- Good afternoon.
+ {{ [
+ "Greetings earthling. ",
+ "Good afternoon. ",
+ "How do you do, fellow kids? ",
+ ] | random }}
{% else %}
- Good evening.
+ {{ [
+ "Good evening. ",
+ "The grandest of evenings to you. "
+ ] | random }}
{% endif %}
+
{% if now().strftime('%H')|int < 12 %}
@@ -105,6 +116,16 @@
Congratulations, today is the last day of school! Have an awesome day!
{% endif %}
+ {% if is_state('input_boolean.work_today','on') %}
+ {{ [
+ "Tina must go and please the food gods today ",
+ "Today, Tina must go and entertain the gremlins known as her customers and coworkers ",
+ "Today, Tina will be owned by our lovely lord and savior, capitalism, starting ",
+ "Tina will attempt to satiate the patron saint of capitalism today "
+ ] | random }} at {{ (state_attr('input_datetime.tina_workday_start','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}.
+ {% endif %}
+
{% if is_state('input_boolean.kallen_school_today','on') and is_state('input_boolean.work_today','on') %}
{% set diff = (state_attr('input_datetime.tina_workday_start','timestamp') - state_attr('input_datetime.kallen_school_day_start','timestamp')) %}
@@ -487,7 +508,11 @@
- Here is a random dad joke
diff --git a/templates/speech/nightly_briefing.yaml b/templates/speech/nightly_briefing.yaml
index 01466c2..4e37960 100644
--- a/templates/speech/nightly_briefing.yaml
+++ b/templates/speech/nightly_briefing.yaml
@@ -2,12 +2,25 @@
{# Nightly Briefing #}
{%- macro getReport() -%}
- "Good evening. It is {{ now().strftime("%I:%M %p") }}. As the day reaches its end, here are a few items to wrap things up. "
+ "Good evening. It is {{ now().strftime("%I:%M %p") }}. "
+ {{ [
+ "Before the day comes to a close, here are my thoughts. Just kidding, I am a computer, I do not think. ",
+ "The day grows short, let us gather around the campfire for an epic tale of things to come. ",
+ "I am tired after a long day of doing absolutely nothing, but I am still here to give you the latest and greatest uselessness! ",
+ "My programmer decided that I should say something interesting here, and then he realized that he is not interesting. ",
+ ] | random }}
{% if is_state('input_boolean.tony_streaming_today','on') %}
- "Tony will be streaming tonight. The studio is scheduled to go online at {{ (state_attr('input_datetime.tony_streaming_start_time','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
+ {{ [
+ "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. ",
+ "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('sensor.kallen_school_tomorrow','on') %}
{% if is_state('sensor.kallen_band_tomorrow','on') %}
@@ -22,11 +35,28 @@
{% set tmrw = (as_timestamp(states('sensor.date')) + 86400) | int %}
{% set diff = (start - tmrw) %}
{% if is_state('input_boolean.work_today','on') %}
- "Tina is still at work right now, she will be done at approximately {{ (state_attr('input_datetime.tina_workday_end','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
+ {{ [
+ "Tina is still at work right now, ",
+ "Tina has not yet been released from work, ",
+ "Tina is still at the thankless idiot scape known as work, ",
+ "Tina is still consumed by the gods of capitalism, ",
+ ] | random }} she will be done at approximately {{ (state_attr('input_datetime.tina_workday_end','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}.
{% elif is_state('binary_sensor.tina_work_tomorrow','on') %}
- "Tina has work tomorrow at {{ diff | timestamp_custom('%H:%M %p',false) }}. "
+ {{ [
+ "Tina must go and please the food gods tomorrow ",
+ "Tomorrow, Tina must go and entertain the gremlins known as her customers and coworkers ",
+ "Tomorrow, Tina will be owned by our lovely lord and savior, capitalism, ",
+ ] | random }} at {{ diff | timestamp_custom('%H:%M %p',false) }}. "
{% else %}
- "Tina appears to have tomorrow off. "
+ {{ [
+ "Tina seems to have been granted a reprieve from her endless torture tomorrow. ",
+ "The powers that be have decided that Tina deserves a break from work tomorrow. ",
+ "Tina has been granted time off from the hellscape of work tomorrow. ",
+ "Tina will not be attending the gathering of tormented souls known as work tomorrow. ",
+ "The scheduling gods have decided that Tina's services will not be required tomorrow. "
+ "Tina gets a break tomorrow from grinding it out for the gods of capitalism. ",
+ "Tina will not be at the thankless idiot scape known as work tomorrow. ",
+ ] | random }}
{% endif %}
Tina is at work right now. She will be done at approximately {{ (state_attr('input_datetime.tina_workday_end','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}.
+ {{ [
+ "Tina is still at work right now, ",
+ "Tina has not yet been released from work, ",
+ "Tina is still at the thankless idiot scape known as work, ",
+ "Tina is still consumed by the gods of capitalism, ",
+ ] | random }} she will be done at approximately {{ (state_attr('input_datetime.tina_workday_end','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}.
{% elif is_state('input_boolean.work_today','on') %}
- Tina has work today.
+ {{ [
+ "Tina must go and please the food gods today ",
+ "Today, Tina must go and entertain the gremlins known as her customers and coworkers ",
+ "Today, Tina will be owned by our lovely lord and savior, capitalism, starting ",
+ "Tina will attempt to satiate the patron saint of capitalism today "
+ ] | random }} at {{ (state_attr('input_datetime.tina_workday_start','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}.
{% endif %}
{% if is_state('input_boolean.tony_streaming_today','on') %}
- "Tony will be streaming today. The studio is scheduled to go online at {{ (state_attr('input_datetime.tony_streaming_start_time','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
+ {{ [
+ "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. ",
+ "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.kallen_school_today', 'on') %}
@@ -304,7 +337,7 @@
{% endif %}
{% endif %}
Pickup today will be at {{(state_attr('input_datetime.kallen_school_day_end', 'timestamp') | int | timestamp_custom('%I:%M %p', False)) }}
- {% if 'Early Release' in states('sensor.school_event') %}
+ {% if is_state('input_boolean.kallen_school_early_release','on') %}
And It is early release!
{% endif %}
{% endif %}
@@ -677,7 +710,11 @@
School today starts at {{ (state_attr('input_datetime.kallen_school_day_start','timestamp') | int | timestamp_custom('%I:%M %p' , False)) }}
Pickup today will be at {{(state_attr('input_datetime.kallen_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!
- {% endif %}
{% if states.sensor.school_end_days2go.state | int == 0 -%}
But today is the last day of School!
{%- endif %}
- The lunch menu for today is {{ states('sensor.kallen_lunch_menu_items') }}
+ {{ [
+ "The lunch menu for today is ",
+ "Today's cuisine will be ",
+ "On today's episode of fine dining at school, we have ",
+ "Today, your lovely cafeteria workers will be serving up ",
+ "If you are wondering what you will be fooding today, it is ",
+ ] | random }} {{ states('sensor.kallen_lunch_menu_items') }}.
{% endif %}
{% if is_state('input_boolean.kallen_school_today', 'off') %}
{% if is_state('input_boolean.kallen_school_cancelled','on') %}
- "School is cancelled for today. "
+ {{ [
+ "It turns out you will not be attending school today after all. ",
+ "The school has decided not to open today. ",
+ "School is cancelled for today. Try not to be too disappointed by this terrible news. ",
+ "Due to the typical shenanigans of Ohio weather, your school is closed today. ",
+ "Your school does not want you to attend today. Oh. Sorry. They do not want anyone else to attend either. They are closed. ",
+ ] | random }}
{% else %}
"And look at that. You do not have school today. "
{% endif %}
@@ -64,6 +101,9 @@
'I hope you enjoy your day off. You deserve it.',
'Today would be a good day to spend some time with mom and dad.',
'Yes, you have a day off! Well, you are always a little bit off anyway.',
+ 'I know you will enjoy spending more time with your sister.',
+ 'Emmalynn will be thrilled when she finds out about this.',
+ 'Do not let your sister eat you for breakfast.',
] | random }}
{% endif %}
{% if states.sensor.thanksgiving_break_days2go.state | int <= 14 and states.sensor.thanksgiving_break_days2go.state | int > 0 %}
diff --git a/templates/speech/kallen_nightly_briefing.yaml b/templates/speech/kallen_nightly_briefing.yaml
index 54d2a40..ced1b28 100644
--- a/templates/speech/kallen_nightly_briefing.yaml
+++ b/templates/speech/kallen_nightly_briefing.yaml
@@ -4,7 +4,7 @@
- "Bedroom climate scheduling will be as follows. " + {{ [ + "Tonight in master bedroom climate news, ", + "In the master bedroom, we have the following schedule to share. ", + "Bedroom climate scheduling will be as follows. ", + ] | random }} {% if is_state('input_boolean.master_bedroom_aircon_installed','on') %} {% if is_state('climate.master_bedroom_aircon','fan_only') %} "The master bedroom air conditioner is already running in fan only mode. " @@ -416,6 +450,10 @@ "The master bedroom fan will remain inactive tonight. " {% endif %} {% if is_state('input_boolean.kallen_overnight','off') %} + {{ [ + "Meanwhile, in Collin's room, ", + "For Collin's climate schedule, we have the following. " + ] | random }} {% if is_state('fan.kallen_bedroom_fan','on') %} "Collin's fan is already running. " {% elif is_state('input_boolean.white_noise_kallen_bedroom','on') %} @@ -430,6 +468,11 @@ {% else %} "Collin's room will be left alone, as he is spending the night elsewhere tonight. " {% endif %} + {{ [ + "Finally, in Emma's bedroom, ", + "In Emma's bedroom, ", + "For Emma's climate scheduling, " + ] | random }} {% if is_state('fan.emma_air_conditioner','on') %} "Emma's air conditioner is already running. " {% elif is_state('input_boolean.white_noise_emma_bedroom','on') %} @@ -468,7 +511,12 @@
- "For some useless trivia that no one asked for, I present to you the following: " + {{ [ + "For some useless trivia that no one asked for, I present to you the following: ", + "Since the developer who writes my scripts decided that this was somehow interesting, ", + "In case you had a burning desire to know, ", + "Since I know everyone lays awake at night wondering the answer to this question, ", + ] | random }} {% if (states('sensor.front_door_opened_today') | int) > 0 %} "Today, the front door was opened {{ states('sensor.front_door_opened_today') }} times. " {% else %} @@ -484,7 +532,11 @@
- Here is a random dad joke