Cannot change color_mode for light bulb

Hi,

I’m trying to use the service turn_on with the data field to change color_modes between hs and color_temp .

Can someone who has successfully done this tell me how please?

Also, if the RGB is set to [255,255,255] or the HA color picker is set to the middle circle, then the color_mode is set to “unknown”. Again, I cannot change this from node red.

Any advice gratefully appreciated!

B.