Recommendation on how to control RGB / WW light (not RGBWW!)

I am reverse engineering a BLE light (Lampster) and looking to control it from HA

It is odd. It has two modes (with a command to change mode):

  • RGB mode where R G and B are brightness settings for those individual colour LEDs (0-100% per channel)

  • WW mode where CW and WW are brightness settings for those individual colour LEDs. (0-100% per channel)

So I need to control it as either RGB colour wheel + brightness (from which I can calculate the % brightness for each colour channel) or Kelvin WW slider + brightness (from which I can work out the rough CW and WW led channel brightness values)

I’m very happy to receive a traditional RGB 0-255 triple (or WW 0-255 or kelvin) and a brightness, I can do the maths in the custom component if I know it’s coming to figure out the commands.

But where I am stuck is that configuring the light as RGBWW color_mode isn’t going to give me a light card I can use.

Any suggestions of how to display an appropriate card (or one I can copy even better?) with kelvin, rgb wheel and brightness? Is there one out there I could use that anyone has seen as I can’t find an example anywhere

—Chris