ok, that is a clear error, which will help narrow the issue down.
What model of light are you having? (the model you see in OH, not the commercial name)
Can you set a few colors (e.g. red, yellow, green,blue) and share what is the value you see. Maybe also see if the brighness infuences the value. That helps understanding the how the light is encoding the color
The model is a yeelink.light.color5. I played around with the colour flow feature a couple of months ago and it seemed that the colour settings worked as described in the specification:
I will try here, but I think the problem is that the device is sending a string (text) instead of a number. (no ")… I quickly looked at the code and it expects the color as number
I have a rgb light here somewhere, will connect that one