I've edited my groups.yaml, how to force lovelace to update?

I’ve still got a few devices using states and not lovelace, so i’ve edited my groups.yaml file, but now lovelace doesn’t match the changes i’ve made.

I don’t wanna “take control” of lovelace, i want it to match groups.yaml, is that possible ?

No, lovelace is controlled through ui-lovelace.yaml.

If you want to manually edit your lovelace config, you need to enable yaml mode.

https://www.home-assistant.io/lovelace/yaml-mode/

The other way is to remove the file “ui-lovelace.yaml” as it will see it’s missing and recreate it, well at version 0.88.2

The new proper way is to use the UI Editor. Once in the Editor, you can select raw mode from the menu and place your configuration there.

No YAML file or YAML mode needed

No, not correct. There is no “proper” way. It’s all in what the user wants to do.

I use yaml mode. It works great for me. Others use the GUI method and it (mostly) works for them. Others use a hybrid of the two ways to solve the “mostly” situation from above. I don’t get that way of doing it but that’s OK. It works for them.

Decide how you want to configure your front end and just use it.

OK, I am new here. The YAML mode works great, especially for those moving from the old UI.

I understood that the UI Editor wasrecently added to make editing easier and so you can see the UI changes without restarting Home Assistant.

That’s almost true.

The GUI editor was added to make things “easier” (there goes that subjective word again) for people to add standard things to the frontend. If you need to add custom stuff then you still need to edit the config manually in “raw” mode. And then when you edit things in “raw” mode the config files aren’t laid out in the way most people are used to seeing things in yaml mode so it adds a level of confusion. And not to mention that there’s no way to split up the config in storage (non-yaml) mode so if you do end up having to edit the raw file then you have to dig through possibly hundreds of lines of uncommented code to find the place where you need to make your edit.

And to be clear, you never have to restart HA just from making changes to your lovelace UI. Either in yaml or storage mode the most you have to do is click the three dot menu in the top right corner and click “refresh”.

And in either mode if you add any custom cards to the “resources” section you always have to restart your HA for it to pick up the code for the custom card in the /www directory anyway.