Move sports imports to top of TTS briefings that use them
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
{% from 'status.jinja' import houseStatusReport, tonyStatusReport, tinaStatusReport, kallenStatusReport, emmaStatusReport %}
|
||||
{% from 'easy_time.jinja' import count_the_days %}
|
||||
{% from 'weather.jinja' import weatherReport %}
|
||||
{% from 'sports.jinja' import sports_pregame, sports_main %}
|
||||
<p>
|
||||
{{ greeting() }}
|
||||
</p>
|
||||
@ -239,7 +240,6 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% from 'sports.jinja' import sports_pregame, sports_main %}
|
||||
{% if is_state('input_boolean.sports_updates','on') %}
|
||||
{% if is_state('binary_sensor.michigan_wolverines_inhibit','off') %}
|
||||
{{ sports_pregame('sensor.michigan_wolverines') }}
|
||||
|
@ -5,6 +5,7 @@
|
||||
{% from 'status.jinja' import tonyStatusReport, tinaStatusReport, kallenStatusReport, emmaStatusReport %}
|
||||
{% from 'easy_time.jinja' import count_the_days %}
|
||||
{% from 'weather.jinja' import weatherReport %}
|
||||
{% from 'sports.jinja' import sports_pregame, sports_main %}
|
||||
<p>
|
||||
{{ greeting_nodate() }}
|
||||
</p>
|
||||
@ -114,7 +115,6 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% from 'sports.jinja' import sports_pregame, sports_main %}
|
||||
{% if is_state('input_boolean.sports_updates','on') %}
|
||||
{% if is_state('binary_sensor.michigan_wolverines_inhibit','off') %}
|
||||
{{ sports_pregame('sensor.michigan_wolverines') }}
|
||||
|
@ -6,6 +6,7 @@
|
||||
{% from 'status.jinja' import tonyStatusReport, tinaStatusReport, kallenStatusReport, emmaStatusReport %}
|
||||
{% from 'easy_time.jinja' import count_the_days %}
|
||||
{% from 'weather.jinja' import weatherReport %}
|
||||
{% from 'sports.jinja' import sports_pregame, sports_main %}
|
||||
<p>
|
||||
{{ greeting() }}
|
||||
</p>
|
||||
@ -34,7 +35,6 @@
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% from 'sports.jinja' import sports_pregame, sports_main %}
|
||||
{% if is_state('input_boolean.sports_updates','on') %}
|
||||
{% if is_state('binary_sensor.michigan_wolverines_inhibit','off') %}
|
||||
{{ sports_pregame('sensor.michigan_wolverines') }}
|
||||
|
Reference in New Issue
Block a user