araines / homeassistant-thermoplus-ble

Bluetooth adapter for Home Assistant compatible with Thermoplus (Sensor Blue) BLE thermometers
MIT License
7 stars 3 forks source link

Negative temperature shows as very high number in Home Assistant sensor #9

Closed kelu16 closed 3 years ago

kelu16 commented 3 years ago

Hi, I have one of my thermometers on the outside and the real temperature of -1.13°C is displayed in Home Assistant as 4.094,88 °C. As soon as the temperature is above 0 °C the value is correctly shown in HA. This looks like an overflow problem with an unsigned 12 bit data type.

Do you have an idea how to fix this?

araines commented 3 years ago

Available in v0.2.1