My daughters room gets cold at night so I have a space heater installed that kicks on at 7 pm and off at 7 a.m. The problem is when the furnace starts at 5:30 triggered by the upstairs thermostat, her room gets too hot before 7. I have Flair automated vent installed and HA can read the temp of the vent.
So I’d like to set up a config that turns off the space heater if the vent temp goes over 80 F. Below is my current YAML, but it is not working. Any advice is much appreciated!
alias: Suzannes Room Heater Off over 80
description: >-
turn off suzannes room heater if flair_vent_Suzanne's RoomDuct Temperature is
over 80
trigger:
- platform: numeric_state
entity_id: sensor.flair_vent_suzanne_s_roomduct_temperature
above: '80'
condition:
- condition: device
type: is_on
device_id: e005b3b95fb8b5471b661eccdcf840b6
entity_id: switch.suzanne_s_heater_switch
domain: switch
- condition: numeric_state
entity_id: sensor.flair_vent_suzanne_s_roomduct_temperature
above: '80'
action:
- type: turn_off
device_id: e005b3b95fb8b5471b661eccdcf840b6
entity_id: switch.suzanne_s_heater_switch
domain: switch
mode: single