#Ghost Entity

1 messages ยท Page 1 of 1 (latest)

slim meadow
#

If you go to Developer Tools > Templates and input {{ states.group | list }}, do you see anything that might be it?

#

And also, did you check the helpers UI?

sullen solarBOT
#

Open your Home Assistant instance and show your helper entities

astral storm
slim meadow
#

Oh, and can you search with VS code for group.set? That might also be the cause for it.

slim meadow
astral storm
#

{{ states.group | list }} returns [] which is strange because I do have other groups

slim meadow
#

Awesome, it's really silly, but I often feel like I've missed the obvious when troubleshooting my own issues ๐Ÿ˜„

astral storm
#

I think I have gone through everything twice which leaves a 60% change I missed something obvious

#

It's a very weird issue. It's no problem checking everything again. I might even learn some new tricks.

slim meadow
#

So in addition to trying

{{ states.group | list }}

It's also worth trying

{{ states | selectattr('name', 'search', 'Growatt') | list }}

(This is in developer tools > templates )

#

The first may output a really long list.

astral storm
#

Under entities, when I filter on groups, the phantom entity is not shown. It's only shown under helpers

#

Going through So in addition to trying {{ states | selectattr('name', 'search', 'Growatt') | list }} now

verbal vapor
#

Try to refresh the browser cache (on Windows it is usually Ctrl + F5 together)

astral storm
fresh vault
#

What about an incognito/private window? Just to make doubly sure before we go scorched earth here.

astral storm
#

Same result (was just checking it) ๐Ÿ™‚

fresh vault
#

Crap. I was really hoping that would be it.

slim meadow
#

Let's check the Growatt template just to make sure it doesn't output an empty list.

#

If it does, that should help us remove it

astral storm
#

Also nothing which indicates the entity is a group

slim meadow
#

Darn, I was hoping we'd see that group name.

#

Groups aren't always stored in the "group" domain, if they're binary sensors they're stored under that domain, etc.,

astral storm
#

I'm going over it again to be sure

#

I used the group helper to group the energy entity from the integration and an entity from mqtt, so it would be a sensor group.

verbal vapor
#

Ehm... I might have an idea

#

There has been an issue, if the parent entities have been removed from a min/max sensor for example, the helper entity became inaccessible via the UI

#

Do you remember, what entities have been part of that group and have you removed them?

astral storm
#

I renamed one of the entities. The mqtt entity is currently broken and not showing up

verbal vapor
#

"Fix" would be to rename something from the same domain temporarily to the entity_id which has been removed. When the helper is editable again, remove the helper and rename that entity back to its original id

astral storm
#

When i found the ghost group, it had no members. I added one to see if it would fix the group (but it didn;t

astral storm
verbal vapor
#

If you renamed or deleted a sensor.blala from that group for example, you could rename any sensor to that.

astral storm
#

Either it doesn't work, or I'm not able to remember the previous entity names.

#

I'm 80% certain that I tried the right entities though...

#

But I do think I have enough leads to submit a bug report (or find the bug you are refering to and attach my case there)

#

I think I need to give it a rest for today. Thanks @verbal vapor and @slim meadow for your support. You've been a great help โค๏ธ

slim meadow
#

If we have any more ideas before going nuclear, we'll let you know.

flat epoch
#

Do you see anything in the logs

astral storm
#

Nothing in the logs.
I searched everything using vscode