Closed bdewitte123 closed 2 years ago
With outside temperatures going below 0 °C some weeks ago, I noticed my VMBPIRO reporting negative temperatures as 127°C. The proposed fix takes into account the sign-bit and adds the proper offset of -127.
Was already fixed in: https://github.com/thomasdelaet/python-velbus/pull/77/
Also fixes: https://github.com/home-assistant/core/issues/61238
please run black and then update this PR, then all checks should pass and we can merge it
thanks for this!
With outside temperatures going below 0 °C some weeks ago, I noticed my VMBPIRO reporting negative temperatures as 127°C. The proposed fix takes into account the sign-bit and adds the proper offset of -127.
Was already fixed in: https://github.com/thomasdelaet/python-velbus/pull/77/
Also fixes: https://github.com/home-assistant/core/issues/61238