List entities that are not in Home Assistant Lovelace UI

As there’s no “Home” tab in lovelace, which shows all entities, even if they are not included in a group, I searched for something that would show me all entities, that are not visible in the Lovelace UI. I googled this and it looked promising at the first sight.

But I soon realized, that the no-love.html panel doesn’t deal well with horizontal and vertical stacks and maybe other card types as well. It lists entities inside a vertical or horizontal stack, as if they were not present in the UI.

Thus, I rewrote the code, using a nested function, that crawls the entire views array and now really finds all entities (at least I hope so), that are not shown in one of the lovelace views:

Isn’t this natively available from the menu in the upper right corner?

Capture

Thanks for the tip. To be honest, until now I didn’t know this view existed. When I searched for something that shows items, that are not visible in the lovelace UI or replaces the home view of the classic UI, the no-love panel was one of the only suitable search results.

When using the right search terms, the unused entities view can be found of course, but it’s not that well documented. In fact, the only hint to it in the official documentation by now seems to be the comment regarding the excluded_entities list in the config snippet for activating the lovelace UI. :slightly_smiling_face:

But it’s good to know this view exists and hopefully someone searching for this now also finds this thread.

Maybe someone still finds this simple panel useful. I use it for c&p unused items into config files, because this is easier done from that plain list than from the unused entities view.

Hi,

And how can I put an entitie that is in the “unused entities” in one of my pages ?

Thank you for your help

I’m not exactly sure what you mean, but when using the lovelace UI you use the configuration editor to add entities to cards. If it’s a simple card, the card editor offers auto completing input text boxes, where the entity id can be pasted. On more complex cards (f.e. stacked cards or cards including dividers) the UI editor falls back to a yaml editor, where the entity id can be pasted as well.

But unfortunately this won’t help you much, as the panel currently doesn’t work at all. I suppose this is because of some recently introduced internal changes to the DOM. Until now I didn’t find the time to investigate the issue and update the panel.

Thank you for your reply.
I have found the problem was between the chair and the keyboard …

I just have to put the entity in one card …

Sorry for the question

Hi, Since I switched the lovelace to be configured via Yaml, the “unused entities” on the top right menu does not show me anything. Any idea how to fix? Sometime it could be useful to run a script or something which is not listed on the custom UI… Thank you!