Add my status report to relevant briefings

This commit is contained in:
2023-05-19 21:05:52 -04:00
parent f3fe1afb93
commit 96bf25246e
2 changed files with 4 additions and 23 deletions

View File

@ -3,7 +3,7 @@
{%- macro getReport() -%}
{% from 'speech.jinja' import greeting, dadjoke, inspirational_quote %}
{% from 'time.jinja' import input_datetime_12hr, read_time_from_calendar, next_twitch_stream %}
{% from 'status.jinja' import emma_sleep %}
{% from 'status.jinja' import emma_sleep, tonyStatusReport %}
{% from 'easy_time.jinja' import count_the_days %}
<p>
{{ greeting() }}
@ -53,17 +53,7 @@
{% endif %}
</p>
<p>
{% 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 {{ input_datetime_12hr('input_datetime.tony_streaming_start_time') }}. "
{% else %}
"Tonight the studio will be dormant. Tony does not stream again until {{ next_twitch_stream() }} from now. "
{% endif %}
{{ tonyStatusReport('stream','tts') }}
{% if is_state('binary_sensor.kallen_school_tomorrow','on') %}
{% if is_state('binary_sensor.kallen_band_tomorrow','on') %}
"Collin has school tomorrow, and there will be band practice in the morning at {{ read_time_from_calendar('calendar.kallen_school_days','start_time') }}. "