diff --git a/templates/speech/nightly_briefing.yaml b/templates/speech/nightly_briefing.yaml index fc05224..a6329c9 100644 --- a/templates/speech/nightly_briefing.yaml +++ b/templates/speech/nightly_briefing.yaml @@ -20,6 +20,10 @@ "The National Weather Service has issued a tornado watch for our area. Be prepared to take shelter if a warning is issued! ", ] | random }} {% endif %} + {% if states('sensor.weatheralerts_active_alerts') > '0' %} + "Currently there are weather alerts active. The total number of alerts is {{ states('sensor.weather_alerts_active_corrected') }}. They are as follows. " + {{ states('sensor.weather_alert_string') }}. + {% endif %} {% if is_state('input_boolean.lightning_warning','on') %} {% set ltgdist = (states('sensor.blitzortung_lightning_distance') | int) / 1.609 | round %} {{ [ @@ -90,13 +94,6 @@ {% endif %}

-

- {% if states('sensor.weatheralerts_active_alerts') > '0' %} - "Currently there are weather alerts active. The total number of alerts is {{ states('sensor.weather_alerts_active_corrected') }}. They are as follows. " - {{ states('sensor.weather_alert_string') }}. - {% endif %} -

-

{% if is_state('input_boolean.sports_updates','on') %} {% if is_state('sensor.michigan_wolverines','PRE') %}