Move sports imports to top of TTS briefings that use them

This commit is contained in:
2023-06-04 18:18:57 -04:00
parent 27023787a4
commit 37273017bb
3 changed files with 3 additions and 3 deletions

View File

@ -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') }}