Tweaking freeze warning to turn off if temp is above freezing and forecast to stay aboev freezing

This commit is contained in:
Jeffrey Stone 2019-11-14 19:56:59 -05:00
parent 89c4446b15
commit 8aa5e2c3af

View File

@ -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