I have a danfoss termostat which expose an entity number.thermostat_salon_external_measured_room_sensor which i want to update with an external sensor
So i did an automation but there is no thermostat service to set this so I’m using the action device and use sub action to set this value.
now i put an harcoded value, it works but if i try to use a template it keep complaining that it’s not a float value
Now i did try this template in the development tools and it’s working
So are template not supported here ? how can i set this number.thermostat_salon_external_measured_room_sensor ?
I did try this, but i had an error, something like unsupported entity
Though this one was only for input_number as the visual editor only let you choose them
And i think i use device nowhere in my automation, always service but thanks for the link
Number does support float values. However just like input_number they can have a defined precision or “step” attribute that you can not exceed. For example step: 0.5 gives 0.0, 0.5, 1.0, 1.5… as allowed values, step: 1 gives 0.0, 1.0, 2.0, 3.0… as allowed values.