However, BHT-002 expects the integer value to be divided by 2^(scale value).
Is this an issue in the Tuya IoT Python SDK or in the firmware of the thermostat?
Note that the temperature is reported correctly in the Smart Life App, but it is reported incorrectly in the Tuya IoT Development Platform (https://auth.tuya.com/).
BHT-002 thermostat (sometimes called Moes) temperature conversion is wrong.
The temperature to / from the thermostat through the Tuya Open API is reported as an "Integer data type".
According to: https://developer.tuya.com/en/docs/iot/datatypedescription?id=K9i5ql2jo7j1k -> The Integer value shall be divided by 10^(scale value) to get the temperature value in Celcius.
However, BHT-002 expects the integer value to be divided by 2^(scale value).
Is this an issue in the Tuya IoT Python SDK or in the firmware of the thermostat?
Note that the temperature is reported correctly in the Smart Life App, but it is reported incorrectly in the Tuya IoT Development Platform (https://auth.tuya.com/).