From ae103201084e314b9f29a6cebc9c848aad5c5b8a Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Sun, 10 Nov 2019 13:48:03 -0500 Subject: [PATCH] Added a trigger for my freeze warning condition based on forecasted low --- config/packages/weather_alerts_nws.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/config/packages/weather_alerts_nws.yaml b/config/packages/weather_alerts_nws.yaml index d9050f1..e6222c9 100755 --- a/config/packages/weather_alerts_nws.yaml +++ b/config/packages/weather_alerts_nws.yaml @@ -211,7 +211,16 @@ automation: action: - service: input_boolean.turn_on entity_id: input_boolean.freeze_warning - + + - alias: Forecast Low Near Freezing + initial_state: 'on' + trigger: + - platform: numeric_state + entity_id: sensor.dark_sky_overnight_low_temperature_0d + below: 35 + action: + - service: input_boolean.turn_on + entity_id: input_boolean.freeze_warning - alias: Activate Tornado alarm initial_state: 'on'