Rename status report macros
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
{% from 'formatting.jinja' import cleanup %}
|
||||
{%- macro getReport() -%}
|
||||
{% from 'speech.jinja' import greeting, dadjoke, inspirational_quote, today_is, sun_status %}
|
||||
{% from 'status.jinja' import houseStatusReport, tonyStatusReport, tinaStatusReport, kallenStatusReport, emmaStatusReport %}
|
||||
{% from 'status.jinja' import house_status_report, tony_status_report, tina_status_report, kallen_status_report, emma_status_report %}
|
||||
{% from 'easy_time.jinja' import count_the_days %}
|
||||
{% from 'weather.jinja' import weatherReport %}
|
||||
{% from 'sports.jinja' import sports_updates %}
|
||||
@ -76,7 +76,7 @@
|
||||
Tomorrow is Tony and Christina's wedding anniversary!
|
||||
{% endif %}
|
||||
|
||||
{{ tinaStatusReport('work','tts') }}
|
||||
{{ tina_status_report('work','tts') }}
|
||||
|
||||
|
||||
{% else %}
|
||||
@ -188,19 +188,19 @@
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
{{ tinaStatusReport('work','tts') }}
|
||||
{{ tina_status_report('work','tts') }}
|
||||
|
||||
{{ tonyStatusReport('stream','tts') }}
|
||||
{{ tony_status_report('stream','tts') }}
|
||||
|
||||
{{ kallenStatusReport('school','tts') }}
|
||||
{{ kallen_status_report('school','tts') }}
|
||||
|
||||
{{ emmaStatusReport('sleep','tts') }}
|
||||
{{ emma_status_report('sleep','tts') }}
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
{{ houseStatusReport('full','tts') }}
|
||||
{{ house_status_report('full','tts') }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -2,7 +2,7 @@
|
||||
{# Master Bedroom Wakeup #}
|
||||
{%- macro getReport() -%}
|
||||
{% from 'speech.jinja' import greeting, today_is %}
|
||||
{% from 'status.jinja' import tonyStatusReport, tinaStatusReport, kallenStatusReport, emmaStatusReport %}
|
||||
{% from 'status.jinja' import tony_status_report, tina_status_report, kallen_status_report, emma_status_report %}
|
||||
{% from 'weather.jinja' import weatherReport %}
|
||||
<p>
|
||||
{{ greeting('date') }}
|
||||
@ -15,13 +15,13 @@
|
||||
<p>
|
||||
{{ weatherReport('alerts','tts','day') }}
|
||||
|
||||
{{ tonyStatusReport('full','tts') }}
|
||||
{{ tony_status_report('full','tts') }}
|
||||
|
||||
{{ tinaStatusReport('full','tts') }}
|
||||
{{ tina_status_report('full','tts') }}
|
||||
|
||||
{{ kallenStatusReport('full','tts') }}
|
||||
{{ kallen_status_report('full','tts') }}
|
||||
|
||||
{{ emmaStatusReport('full','tts') }}
|
||||
{{ emma_status_report('full','tts') }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -3,7 +3,7 @@
|
||||
{% from 'formatting.jinja' import cleanup %}
|
||||
{%- macro getReport() -%}
|
||||
{% from 'speech.jinja' import greeting, dadjoke, inspirational_quote, today_is %}
|
||||
{% from 'status.jinja' import tonyStatusReport, tinaStatusReport, kallenStatusReport, emmaStatusReport %}
|
||||
{% from 'status.jinja' import tony_status_report, tina_status_report, kallen_status_report, emma_status_report %}
|
||||
{% from 'easy_time.jinja' import count_the_days %}
|
||||
{% from 'weather.jinja' import weatherReport %}
|
||||
{% from 'sports.jinja' import sports_updates %}
|
||||
@ -53,7 +53,7 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
{{ tinaStatusReport('work','tts') }}
|
||||
{{ tina_status_report('work','tts') }}
|
||||
</p>
|
||||
<p>
|
||||
{% if is_state('input_boolean.kallen_school_today','on') and is_state('input_boolean.work_today','on') %}
|
||||
@ -92,7 +92,7 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ tonyStatusReport('stream','tts') }}
|
||||
{{ tony_status_report('stream','tts') }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -4,7 +4,7 @@
|
||||
{%- macro getReport() -%}
|
||||
{% from 'speech.jinja' import greeting, dadjoke, inspirational_quote %}
|
||||
{% from 'time.jinja' import input_datetime_read, time_from_calendar, next_twitch_stream %}
|
||||
{% from 'status.jinja' import tonyStatusReport, tinaStatusReport, kallenStatusReport, emmaStatusReport %}
|
||||
{% from 'status.jinja' import tony_status_report, tina_status_report, kallen_status_report, emma_status_report %}
|
||||
{% from 'easy_time.jinja' import count_the_days %}
|
||||
{% from 'weather.jinja' import weatherReport %}
|
||||
{% from 'sports.jinja' import sports_updates %}
|
||||
@ -26,14 +26,14 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ tonyStatusReport('stream','tts') }}
|
||||
{{ tony_status_report('stream','tts') }}
|
||||
{% if is_state('binary_sensor.kallen_school_tomorrow','on') %}
|
||||
"Collin has school tomorrow at {{ time_from_calendar('calendar.kallen_school_days','start_time','read') }}. "
|
||||
{% else %}
|
||||
"Collin does not have school tomorrow. "
|
||||
{% endif %}
|
||||
{{ tinaStatusReport('work','tts') }}
|
||||
{{ emmaStatusReport('sleep','tts') }}
|
||||
{{ tina_status_report('work','tts') }}
|
||||
{{ emma_status_report('sleep','tts') }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
@ -4,7 +4,7 @@
|
||||
{%- macro getReport() -%}
|
||||
{% from 'speech.jinja' import dadjoke %}
|
||||
{% from 'time.jinja' import input_datetime_read %}
|
||||
{% from 'status.jinja' import emmaSleep %}
|
||||
{% from 'status.jinja' import emma_sleep %}
|
||||
{% from 'easy_time.jinja' import count_the_days %}
|
||||
{% from 'weather.jinja' import weatherReport %}
|
||||
<p>
|
||||
@ -124,7 +124,7 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ emmaSleep() }}
|
||||
{{ emma_sleep() }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user