Get color form hue lights to use after move to zha

I have some light colors, that I should like to keep when moving to zha. Is there a way to get the colors from the hue plugin and use it when connected to zha?

min_mireds: 153
max_mireds: 500
color_mode: xy
hs_color: 20.816, 19.216
rgb_color: 255, 223, 206
xy_color: 0.3735, 0.3441

Ist it enough to just set rgb_color on zha?
What are the other values for?

The Hue light will support the same color modes in ZHA as it did in the HUE integration.

Attribute Description
hs_color A list containing two floats representing the hue and saturation of the color you want the light to be. Hue is scaled 0-360, and saturation is scaled 0-100.
xy_color A list containing two floats representing the xy color you want the light to be. Two comma-separated floats that represent the color in XY. You can find a great chart here: Hue Color Chart.
rgb_color A list containing three integers between 0 and 255 representing the RGB color you want the light to be. Three comma-separated integers that represent the color in RGB, within square brackets.
1 Like

Thanks I am glad to hear that, it will make the transition easier.