i am trying to get HA to notify me when my thermostat reads a current_temperature that is +3 degrees of my target_temp_high or -3 degrees or my target_temp_low. my action works just fine and i have no conditions, so it’s just a trigger issue. i am including the entities of the thermostat along with the yaml code of the non-working trigger.
Entity: climate.thermostat
State: heat_cool
Attributes
hvac_modes:
- "off"
- heat_cool
- cool
- heat
min_temp: 40
max_temp: 99
fan_modes:
- "on"
- auto
- diffuse
preset_modes:
- none
- away
- hold
current_temperature: 72
temperature: null
target_temp_high: 75
target_temp_low: 72
current_humidity: 31
fan_mode: auto
hvac_action: heating
preset_mode: hold
fan_action: running
permanent_hold: true
dr_phase: -1
friendly_name: THERMOSTAT
supported_features: 411
trigger:
- platform: state
entity_id:
- climate.thermostat
attribute: current_temperature
to: target_temp_high +5
- platform: state
entity_id:
- climate.thermostat
attribute: current_temperature
to: target_temp_low -5
1 post - 1 participant