Tuya Integration - Improve Air Purifier Integration

Hi,

I have got a purifier that is quite popular in Poland - Klarta Forste 4. It integrates with Tuya but using the official Tuya cloud component not all functions are present or work correctly. I think I could try to add this functionality as I find out that it is configured at \components\tuya\fan.py. “kj” is for air purifiers. I see that it is recognized correctly and TuyaFanEntity() does the job. I’m new to HA so what is the preffered way to introduce changes?

What I want to improve:

  • at this moment it is impossible to change the fan speed manualy. There is a mode called “Manual” but nothing can be changed.

  • from TUYA/Smart Life app settings that are available: Silent, Silent+, Slow,Slow+,Fast, Fast+, Turbo, Turbo +.

How to start? Who should be asked?

Download the diagnostics and compare it to what you see in fan.py. Post the fan speed section.

image