The Tuya SDK returns strings instead of floats for various values retrieved from devices, although the API contract states that it will return a float.
This breaks integrations with lights, fans and covers on Home Assistant as covered in various issues, such as:
The Tuya SDK returns strings instead of floats for various values retrieved from devices, although the API contract states that it will return a float.
This breaks integrations with lights, fans and covers on Home Assistant as covered in various issues, such as:
As this is an issue with the Tuya API/SDK returning an invalid datatype, it is unlikely to be addressed within Home Assistant (see https://github.com/home-assistant/core/pull/121731)
This unfortunately leaves many Tuya devices fundamentally broken in HASS and possibly many other projects.