Hey folks,
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
- Restarted
- Created the Group via Helpers, same name
Now I have the following situation:
- The “old” YAML group
light.studio_ceiling_lights
is still existing in HA, in statusRestored
, 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_2
which 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?
2 posts - 2 participants