A bit of advice needed, I’ve just upgraded from 2021.12 to 2022.05 and looking at migrating all my YAML groups into the UI-Helpers. One requirement would be to keep the same entity name for the group so as to not break any automation, etc.
Using a test group with three lights I did the following:
- Deleted the YAML config
- Created the Group via Helpers, same name
Now I have the following situation:
- The “old” YAML group
light.studio_ceiling_lightsis still existing in HA, in status
Restored, and still linked to the automations (but useless, since there is no YAML anymore)
- The new UI group has been created with the id
light.studio_ceiling_lights_2which is irking my OCD and also does obviously not work with the automations unless I update them all.
So question: why do YAML groups remain in config after being removed, and how can I do a seamless replacement without having to edit all my automations?