Edit: I am a complete imbecile. My username is extremely accurate. I would delete this post out of embarrassment, but maybe it’ll make someone else feel better about their brain refusing to work also. The only thing I can think of is when I saw 67, I only focused on the 7, and 69 is less than 70, so… something? I quit.
I noticed it was cold in my basement, and the baseboard heater was not on. Checked the automation - hasn’t run since yesterday afternoon. No traces available. Automation triggers if:
{{ states(‘sensor.basement_temperature_temperature’) | float < states(‘sensor.basement_current_target_temperature’) | float }}
If the temperature on the temp sensor is less than the current target, turn on.
But it wasn’t.
So I plugged this into Developer Tools->Template:
{{ states('sensor.basement_temperature_temperature') | float }}
{{ states('sensor.basement_current_target_temperature') | float }}
{{ states('sensor.basement_temperature_temperature') | float < states('sensor.basement_current_target_temperature') | float }}
{{ states('sensor.basement_temperature_temperature') | float > states('sensor.basement_current_target_temperature') | float }}
And this is the output I got:
69.21
67.0
False
True
What the heck? How is that possible? How is 69.21 greater than 67.0??