Add support for Kasa Smart LED light strips

Initial commit for KL420L5

Adds support for the KL420L5 LED strip to the Kasa Smart controller. I used the model parameter in the system information json to detect the model and send the correct command. This was also tested with a KL135 light bulb to ensure that other Kasa RGB lights still work.

It is possible to set LEDs individually on the KL420, but I've left it out of this MR because it creates a fade from black effect every time the colors are changed.

Tested on Fedora 40.

Checklist for Accepting a Merge Request for a New Device

  • The source branch of the merge request is not protected (master is protected by default when creating a fork, so it is recommended to not use it as your source).
  • The New Device issue raised for this device is linked to this MR with a keyword Closes / Resolves / Implements
  • There is a device protocol page in the Developer Wiki or there is enough information / captures in the New Device issue to provide ongoing support.
  • The code to be merged follows the style guide and change requirements as documented in the contributing guide.
  • Meta data for the device is included in RGBController_* file
  • This device is detected and is working on Windows 10 and / or 11
  • This device is detected and is working on Linux (Please specify distribution and releases tested)
  • Logging for Info, Warnings and Errors has been added for troubleshooting purposes
Edited by mfletcher_2

Merge request reports

Loading