Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Tuya Module (54) on 6.6.0 gives 6 power switches #6039
Tuya dimmer (KS-7011) works fine on 6.5.0, but upgrading to 6.6.0 converts the device into something that has 6 power channels and the dimmer slider no longer works. See attached images.
The device reports back to HomeAssistant as multiple switches instead of a light with the update. Toggling the leftmost bit in the web UI toggles the light switch on and off.
Using this template: https://blakadder.github.io/templates/zemismart-ks-7011.html
Caused by commit aaacb20 (thirug010) which uses uninitialised, undocumented and messy param setting (SetOption38) to simulate amount of switches.
As the use of param SetOption38 was not documented the same parameter is used and initialised with 6 by IRRemote support resulting in 6 toggles pop up.
I will need to dig into this further and would request PR suppliers to more thoroughly test their submitted PR's.
To be continued.