I’ve got a Philips Sensi thermostat. I created a simple numeric state trigger to notify me if the target temp is above the measured temp (someone turned up the target temp). When this happens, it’s triggered. So far, so good. But when the measured temp is greater than the target temp, and then drops to the same as the target temp, my trigger fires again.
Why does it fire when target temp == measured temp, even though in the UI I’ve configure it to fire when target temp ‘above’ measured temp? Here’s the trigger in yaml:
platform: numeric_state
entity_id: climate.sensi_214e52_thermostat
attribute: temperature
above: sensor.sensi_214e52_current_temperature
I’ve figured out my problem. The current temp is, as my trigger asks for, a float. So when I thought the current temp was 68 and the target temp was 68, my trigger was firing because the current temp was 67.999989999999997. I’ve solved it by making my trigger fire only if the (target temp - current temp) > 0.4.