Cant delete orphaned group helper - no delete button

Hi
Im trying to delete some obsolete group helper, its marked in red in UI and in log HA complains about it in log every time

Logger: homeassistant.helpers.service
Source: helpers/service.py:301
First occurred: July 27, 2024 at 17:15:00 (232 occurrences)
Last logged: 12:45:00

Referenced entities automation.floor_1_lights_on_motion_1 are missing or not currently available

there are no entities inside it
there is no delete button for it…
how can i delete it?

Did you create the group in YAML?

no
i created it with helper some time ago
then i removed the entities but i cant delete the group now
anyway, which yaml file contains this? i could not find it

I have no idea how the GUI works for this, so I am just guessing on how a GUI might work.

  • can the radio button above the right red marking be activated?
  • can a member entity be selected and then deleted and do all members have to be deleted first?
  1. No, its just a preview of the group entity
  2. I tried adding and deleting entities , it adds and deletes but I cant delete the group no matter what entities are in or w/o entities.

It is not stored in a YAML file. It is stored in the non user editable .storage registry.

I just tested and I could not delete the group if it had no entities in it.
As soon as I added an entity, then I could delete the group.
This sounds a bit like an unintended situation.

I tried adding entity, still wont get delete button
I suspect its something garbage in HA DB that thinks this entity is somehow partly alive that allows me to edit but not delete it

Look for the group entity in the entities table, not the helpers table. You should be able to delete it from there.

For some reason I don’t understand the helpers table jumps straight to options flow for entities which are disabled/unavailable instead of showing their entity registry settings (where the delete button lives).

1 Like

that solved this! thanks!