Added lightning alerts to the normal speech breifings. #392
This commit is contained in:
parent
dfeb8c49fb
commit
b9eb70f7ac
|
@ -35,6 +35,10 @@
|
||||||
Outside, it is going to be {{ states('sensor.dark_sky_minutely_summary') }}
|
Outside, it is going to be {{ states('sensor.dark_sky_minutely_summary') }}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
|
{%- macro lightning() -%}
|
||||||
|
There have been {{ states('sensor.blitzortung_lightning_counter') }} lightning strikes detected within {{(states('sensor.blitzortung_lightning_distance') | int / 1.69) | round (1, 'floor')}} Miles of our House. Please make sure everyone is inside the house.
|
||||||
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro light_check() -%}
|
{%- macro light_check() -%}
|
||||||
{% if states.group.all_lights.state != 'off' -%}
|
{% if states.group.all_lights.state != 'off' -%}
|
||||||
There are
|
There are
|
||||||
|
@ -284,6 +288,12 @@
|
||||||
{{ outside_weather() }}
|
{{ outside_weather() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if (states('sensor.blitzortung_lightning_counter')|int) > 0 %}
|
||||||
|
{{ lightning() }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{{ states('sensor.blitzortung_lightning_counter') }} lightning strike(s)
|
||||||
|
|
||||||
{{ DoorOpened }}
|
{{ DoorOpened }}
|
||||||
{{ DoorClosed }}
|
{{ DoorClosed }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue