Hi all, this is my first thread!
I want to make an automation to turn the water heater on (Sonoff TH16) if the water is not hotter than a variable value using a helper, so that my user can customize his chosen water temp.
But I can’t use the helper in the automation because is a ‘float’ vs an ‘int’.
How can I come around this?
The float error is because for below you provided a string (the input sensor name), I don’t think you can specify a template for below, but if you can you should be putting {{ and }} around the expression. The expression would be something like this:
“ {{ states(‘input_number.my_name’) }}”
You are likely having the same issue with the generic thermostat. Post that yaml and I’ll look at it.
Thanks, Pete, I tried this one below, and the syntax is OK, but I can’t get it to work either in conditions or triggers inside the automation. Any ideas?