Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 103217

Clean way to migrate Groups from YAML to UI

$
0
0

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:

  1. Deleted the YAML config
  2. Restarted
  3. 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 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_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

Read full topic


Viewing all articles
Browse latest Browse all 103217

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>