Can't delete group? How to remove group of lights?

Hi,

I have an older entity, called light.wohnzimmer_lampen that I can neither change nor delete.

I tried it from the “Helpers” tab, but there simply wasn’t an option to delete

I tried it fromrom the “Entities” tab, but I couldn’t even mark the checkbox next to it.

I checked my groups.yaml, but it’s not in there.

Can anybody help me delete this thing? Or make it so that I can edit it again?

Thanks!

I’ve stopped home assistant, grep’ed for the string, removed all occurences and truncated the states and events. But still, when I restart home assistant the group is still there. I’m at a loss

The definition must be in a yaml.

Have you checked all directories (and sub-directories) that you address with !Include in your configuration.yaml?

I ran homeassistant:/# grep -r wohnzimmer_lampen, so I grepped from the root dir.
I even removed the groups: directive from configuration.yaml.

I must be overlooking something, I just don’t know what :smiley:

After a restart the entity “just” comes back.

It’s not a z2m-group?

Great idea! Unfortunately it isn’t:


I checked the mqtt server and it isn’t some retained message either

I found this:

I finally found it: Even though the groups: directive was commented out

homeassistant:~/app/persistant-data/home-assistant# cat configuration.yaml |grep group
#group: !include_dir_merge_named config/groups/
homeassistant:~/app/persistant-data/home-assistant#

The groups were still loaded, for whatever reason. After removing the .yaml file the groups finally disappeared.

Thanks, everybody!!