Automatic groups from Deconz, how do I name them?

When I pair an IKEA controller wth an IKEA bulb I see automatic groups created.
They are all called light.tradfri_on_off_switch and then in HA they get a number (like light.tradfri_on_off_switch_2).
Now I can do a customization so that they get the right name, but I fear that if I remove the deconz integration and re-add it, the numbers will change.
So how do I set these names inside deconz so they are uniquely identified?
They don’t show up in the deconz add-on’s light groups, so that’s not it.

I think it can only be done using the deconz rest api.

1 Like

Ok, something new to learn then :slight_smile:

I created groups in deconz, added the lights and switch to the group

1 Like

Yes, but then it relies on deconz to switch, so if the HA box is off for some reason, then it won’t work. It would be nice to be able to rename the groups directly in integration.