From c63e581d68f9d13b57ce352726f82a00711ee875 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 19 Jan 2023 19:48:52 -0500 Subject: [PATCH] Update weather alerts to use improved text_alert --- packages/weatheralerts.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/weatheralerts.yaml b/packages/weatheralerts.yaml index 0371a31..461e104 100644 --- a/packages/weatheralerts.yaml +++ b/packages/weatheralerts.yaml @@ -1499,6 +1499,7 @@ automation: action: - service: script.text_alert data: + who: 'all' title: "Lightning Detected!" message: >- {% set ltgdist = (states('sensor.blitzortung_lightning_distance') | int) / 1.609 | round %} @@ -1521,6 +1522,7 @@ automation: action: - service: script.text_alert data: + who: 'all' title: "Lightning Clear" message: "The lightning threat has passed. It is safe to resume normal activities." - service: input_boolean.turn_off @@ -1550,6 +1552,7 @@ automation: action: - service: script.text_alert data: + who: 'all' title: "WINDOWS ARE OPEN!" message: "It is raining and there are windows open in the house. Please close them!" - service: script.speech_engine