[X] I have updated to the latest available Home Assistant version.
[X] I have cleared the cache of my browser.
[X] I have tried a different browser to see if it is related to my browser.
[ ] I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.
Describe the issue you are experiencing
When the current temperature is 25.1 degrees (celcius), pressing + button on Thermostat card to increase temperature by 0.1 leads to temperature 25.200000000000003 being sent to device, then (what is worse) either ZWaveJS or ZWaveJS UI or device itself resets value to 25.0 (not to 25.1 and not to 25.2)
Pressing + or - on the thermostat card should round values to the precision of the step increment, or use a method that avoids floating-point inaccuracies (such as the well-known IEEE 754 precision issue).
Steps to reproduce the issue
Ensure the thermostat device has a increment/decrement step of 0.1°C.
Press the + or - button on the thermostat card.
Observe the values sent to the ZWaveJS server and how they are reset.
This issue doesn't occur when adjusting the temperature via the circular slider.
What version of Home Assistant Core has the issue?
2024.9.2
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Edge 128.0.2739.79
Which operating system are you using to run this browser?
Windows 11
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
Checklist
Describe the issue you are experiencing
When the current temperature is 25.1 degrees (celcius), pressing
+
button on Thermostat card to increase temperature by 0.1 leads to temperature 25.200000000000003 being sent to device, then (what is worse) either ZWaveJS or ZWaveJS UI or device itself resets value to 25.0 (not to 25.1 and not to 25.2)Describe the behavior you expected
Pressing + or - on the thermostat card should round values to the precision of the step increment, or use a method that avoids floating-point inaccuracies (such as the well-known IEEE 754 precision issue).
Steps to reproduce the issue
This issue doesn't occur when adjusting the temperature via the circular slider.
What version of Home Assistant Core has the issue?
2024.9.2
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Edge 128.0.2739.79
Which operating system are you using to run this browser?
Windows 11
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
Issue https://github.com/home-assistant/frontend/issues/1798 is related to wrong value being displayed. Not sure though if it was only fixed for displayed value, or for the value that is being sent to device too.