I added a CT101 thermostat to my home. It’s a Z-Wave thermostat. (It’s pretty crappy just like most Radio Thermostat products and requires polling for everything, but that’s a topic for another day.)
I see in the OZW log that it reports temperatures with 0.5 degree Fahrenheit precision (and shows them as such on the actual screen too). But the climate entity it creates in Home Assistant rounds this up or down to the closest integer, and checking the attributes for the entity shows that it shows a rounded integer for current temperature.
Where can I modify the logic that determines how HA parses the OZW results? I don’t know if it’s OpenZwave code or HA itself’s code, or even just an XML file somewhere.
The issue is with the conversion from F to C. Ideally, I would have like the conversion to round up to the closest 0.5 C. There should be a way to do this behind the scene…
For example, I set it to 16C (at 0.5 increments) and it rounds up and shows 15.8C instead. The CT101 thermostat itself shows the C values in 0.5 increments.
thanks @Mutt. I have the temperature sensor coming from the thermostat, which I can template to show increments of 0.5. With that, I can create a generic thermostat like this: https://www.home-assistant.io/integrations/generic_thermostat/. Is that what you meant? If so, which switch do I use for the heater? The Climate component does not return a switch that I can use.
From it I use the (1st) battery sensor and the (4th) temperature sensor
I feed these into the ‘generic_thrermostat’ so I can adjust the temperture through the day, if a door or window opens or if we are greater than 1200m from home. The ‘switch’ I use is wired into the boiler
If you are using your ‘thermostat’ as a ‘thermostat’ then you can’t adjust the sensor value (it has to work on the correct value) but you can create another sensor from it for display purposes.
That’s the best you can do
Ah, so you have a separate switch to control the boiler? I am using the thermostat as the “switch” to control my heater and the Climate component does not give me a switch to control (which is expected). So, I can’t use a Generic thermostat like you do.