Closed maschulze closed 10 months ago
I have that bug, too. I was wondering why my thermostats always seem to switch to 22° instead of 21.5° the last days and kept searching for some obscure configuration option I missed. BTW, it does not matter if I use a "." or a "," for the decimal.
Hello,
Your temperature are floating point value:
eco_temp: 21.5
boost_temp: 30
comfort_temp: 22.5
Another thing I see is that:
target_temp_step: 0.5
that means your underlying climate doesn't accept 0.1 or 0.2 precision temperature.
And the last point you should see: you are in over_climate, it is possible that the self-regulation tries to adjust to the higher temp rounded to the self-regulation precision which is describe here: https://github.com/jmcollin78/versatile_thermostat/blob/main/README.md#self-regulation
The self regulation should explains that target temperature changes it self.
I don't see any regulation attributes in your attributes copy/paste but I wonder if you have any regulation activated ?
In my opinion, autoregulation is not activated.
If the thermostat I'm using doesn't allow steps smaller than 0.5 °C, then it should at least be possible to set a value of 21.5 °C.
I never had auto-regulation, I have thernostat-over-climate, and it worked until a few days ago (I can't say when exactly it stopped working). Now I can only use integer values for temperature. Even if I adjust the thermostat hardware manually, it gets regulated to an integer value seconds later.
I rolled back to version 4.3.0 for testing purposes and now it works as expected again.
I can now set a target temperature of 22.5 °C again and this is maintained without any changes.
Bug found. I will release today.
Version of the custom_component
v5.1.0
Configuration
My VTherm attributes are the following:
Describe the bug
In version v5.1.0, it no longer seems possible to set floating point values for the target temperature. It does not matter whether this is set by preset, by scheduler or by UI. After a short time, the target temperature is corrected to an integer value.
I'm trying to: Set target temperature to value of 21,5 °C
And I expect: The target temperature should be set to 21.5 °C and should not change.
But I observe this ... The target temperature is set to 21.5 °C and changes to 22 °C after a while.