How do I go about connecting the percentage output from the slider to the third of the three values settable in the channel?
Well, I would welcome anyone telling me how to do this, but what I’d really like to know is how to figure this out - I have been going through the docs and examples and forum posts, but I cannot see a way to work out the answer…
You need to link the Channel to a Color Item. A Color Item can be treated as if it were a Dimmer so the only change you need to make is:
Color Spare_dimmer { channel="lifx:colorlight:D073D526C30D:color" }
OH will know that if you sendCommand a single number to it to adjust the brightness value only. You can put it on your sitemap as a Switch also and the ON/OFF will toggle the light.
You would have to create Proxy Items for the channels that you want to control with sliders and use a Rules to change that channel of the HSV values based on the state of the Proxy Item.