ATTR_RGB_COLOR empty

Hello

I’m working on a custom component with RGB light support. I want to use the ATTR_RGB_COLOR but only ATTR_HS_COLOR has a value when I select a color from the UI.
Do I have to specify something somewhere ?

Thank you