Hi,
I’m using a BHT-006 thermostat (Tuya-based Zigbee) with Homey Pro (2023).
The thermostat itself supports 0.5°C increments (e.g. 21.5°C), and this works correctly on the physical device.
However in Homey:
- Setting the temperature to 21.5°C results in 21.0°C
- Reading target_temperature always returns an integer (e.g. 21 instead of 21.5)
- measure_temperature does report decimals correctly (e.g. 21.5)
It looks like target_temperature is being rounded down (floor), possibly due to parseInt / Math.floor in the driver.
This causes issues in automation (e.g. heating control with hysteresis), since the actual setpoint is higher than what Homey reports.
Question:
Is this a limitation of the Tuya/Zigbee mapping, or a bug in the Homey driver?
If this can be fixed, it would be great if target_temperature supports decimals (0.5°C steps), consistent with the device itself.
Device: BHT-006 (Tuya Zigbee thermostat)
Homey: Homey Pro 2023
Happy to help test a fix if needed.
Regards, Bart
