Hi, I’m trying to log Min and Max temperature from a sensor and put that value to the input_text component with an automation.
I’ve got Max temperature working as expected but somehow it doesn’t work when negative numbers is involved.
This is how my automation looks like, any ideas how this can be solved? Or is there some other solution?
EDIT 2: Kelvin is temperature based on the absolute lowest possible temperature. Temperature literally cannot go below 0 kelvin. So, you’ll never have to worry about negative numbers. Also, I don’t think it’s physically possible to get even close to 0 kelvin on earth (outside a lab).
well its only going to trigger when sensor.norra_stranden_temperature changes state and the condition is met. Type the value template lines into the template editor and see what it returns.
Wow, it actually works now, petro! I don’t know what the issue was but it could’ve been that my input.text had a max value of 100 by default. Anyway, thanks alot!