From 8aa5e2c3afb6167620ab3696d8393916afc178ff Mon Sep 17 00:00:00 2001 From: Jeffrey Stone Date: Thu, 14 Nov 2019 19:56:59 -0500 Subject: [PATCH] Tweaking freeze warning to turn off if temp is above freezing and forecast to stay aboev freezing --- config/packages/weather_alerts_nws.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/packages/weather_alerts_nws.yaml b/config/packages/weather_alerts_nws.yaml index ca3d82c..ff52c5a 100755 --- a/config/packages/weather_alerts_nws.yaml +++ b/config/packages/weather_alerts_nws.yaml @@ -235,12 +235,15 @@ automation: initial_state: 'on' trigger: - platform: numeric_state - entity_id: sensor.dark_sky_overnight_low_temperature_0d - above: 35 + entity_id: sensor.accurite_back_porch_temperature + above: 33 condition: - condition: state entity_id: input_boolean.freeze_warning state: 'on' + - condition: numeric_state + entity_id: sensor.dark_sky_overnight_low_temperature_0d + above: 35 action: - service: input_boolean.turn_off entity_id: input_boolean.freeze_warning