I have a Tuya Thermostat that added a entity called number.gulamistabas_radiators.comfort_temperature and I am trying to build a simple user interface where I can adjust it with a + and - buttons.
The problem: To increase the temperature I call number.set_value service and try to pass {{ (states.number.gulamistabas_radiators_comfort_temperature.state) | int + 1 }} as its value, but I get this error: Failed to call service number/set_value. expected float for dictionary value @ data[‘value’]
As I understand the service expects a number but the value is a string. What can be done here to fix it?
I’m trying something very similar but within a YAML Automation and can’t seem to get a config that passes the syntax check. Any idea what I’m doing wrong here?