Hello Hubitat Team,
I am reporting a bug with the built-in Tuya Local integration regarding temperature reading scaling on a Tuya IR Remote with Temperature & Humidity sensor.
- Integration: Built-in Tuya Integration (beta) / tuya_local_import
- Device Model: Tuya Smart IR Remote with Temperature & Humidity Sensor (Model S09)
- Assigned Heuristic: heuristic_ir_remote_sensors (primaryEntityKind: switch)
- Device DNI: TUYA-LOCAL-eb2d0ee15bd6df544cqygm
Issue Details:
The raw value received from the device on DPS 101 is "291" (representing 29.1 °C).
However, the tuya_local_import driver applies an incorrect scaling multiplier (10^-10) when parsing DPS 101, causing the temperature attribute to publish as "2,91E-8 C" (or "2.9E-8 C") instead of "29.1 C".
Because 2.91E-8 °C is virtually zero, the Hubitat UI rounds it to 0°C.
Note:
- Relative Humidity on DPS 102 (raw value "47" / "48") is parsed correctly as 47% / 48%.
Requested Fix:
Please update the DPS 101 parsing logic in the heuristic_ir_remote_sensors mapping to divide the raw integer by 10 (DPS_101 / 10) rather than applying the 10^-10 multiplier.
Thank you!