Entity_registry.yaml is gone as of version 0.77.1, as well as the GUI entity registry editor

I agree, it’s still cumbersome to rename all the entities a zwave device brings with it. However, you can still hand-modify the file and use a Find->Replace function in your text editor. Just make sure HA isn’t running when you do it. It’s JSON now instead of YAML.

And, importantly, now it’s no longer a YAML file and that you’re no longer expected to edit it, no validation is done by Home Assistant.

If anybody is going to edit the files in .storage/ it is absolutely on them to ensure that the file is valid (jq is a great command line tool, but there’s also https://jsonlint.com/).

and after the replies to this and many other threads with the the reasonable complaints and concerns of people who use the stuff the decision is still being made to go down the same path for the sake of “consistency” to the negation of convenience. :roll_eyes:

What was the supposed benefit of the “entity_registry” system again? :thinking:

I’m sure if you want to read the official line you’ll be able to track down the relevant PRs. Practically speaking, it’s a place to store unchanging information about entities (devices, services, etc), and allows you to change their entity ID (which is where this thread started). Of course, if you want to have a discussion about that, I’d suggest taking it to a fresh thread :wink:

I’m not completely sure but I have the feeling that the sarcasm of that line may have been lost in the exchange somewhere. :grinning:

No sarcasm :man_shrugging:

No, I mean MY sarcasm when I wrote that.

That was sarcasm…

never mind…:roll_eyes:

:smile:

Ah, you’d be amazed (ok, maybe you wouldn’t) at how many people complain about every change demanding to know why the new way was introduced :man_shrugging:

I’ve got used to largely taking those things at face value as a result of that (and that almost nobody bothers to read the docs, but instead follows ancient YouTube videos).

2 Likes

Oooh. Now there’s some sarcasm! :wink:

I think…

Here is a real world scenario I’m confronted with that was easy to fix with the old system but I can’t figure out how with the new GUI.

I can’t name a new zwave light “kitchen” because “Kitchen” is taken by a dead node that no longer shows in the GUI anywhere. This also means I can’t ask Alexa to turn on the Kitchen, because of the naming conflict.

What am I to do without messing with the hidden entities file?

It’s buried in the replies, but you have to edit the registry manually, which is technically not a thing you’re supposed to do. But apparently the devs have never run into the incredibly rare occurrence (sarcasm) that you stated and editing ghost entries in a sanctioned way is impossible.

The files to edit are in (config)/.storage. Don’t edit the files while HA is running.

This was all done for your convenience.

What timing on my end. Just now, I needed to switch my wemo and tp link smart outlets and what should have been a 30 second thing changing the names of 2 entities in the entity registry has become a problem that there is not currently a solution for… unless you know JSON or want to risk having a headache messing with stuff.

If there is a way to do this via the front end, I’m not seeing it. Please help!

I’m pretty sure you can just click on the entity you want to change the entity_id for, then click the ‘gear’ symbol in the top right of the window that pops up then change the entity_id line then click ‘save’. I can’t confirm that it works because I haven’t had the need to try it yet but I think that’s the way it’s supposed to work. I think…

If all of the things that the 'entity_registry" was supposedly designed to allow you to do were really as easy as that then there wouldn’t be any complaints. But unfortunately that’s not the case (just ask the person who added a bunch of zwave devices that created 13 entities each how they felt about having to manually change over 250 entity_id’s… :roll_eyes:)

Maybe somebody should raise an issue in Github to bring it to their attention then :wink:

Add your vote to this feature request

Done!

Thanks for pointing that out.

There already is a bug report about it.

1 Like

Dusing this reply was meant for you: Entity_registry.yaml is gone as of version 0.77.1, as well as the GUI entity registry editor

I just hit this “Entity is already registered” problem after having to re-add half a dozen Tradfri bulbs to the system (with the same name as before) which HA then handily added “_2” to the end of their names breaking all my automations in the process.

With no way to remove the old “zombie” entities using the GUI, I had to either do a messy search and replace on all my scripts and automations resulting in different names for the same device on HA and the Tradfri gateway, or edit the entity registry manually. In the end, it was quickest to remove all the Tradfri entities from the registry and get HA to rediscover the whole system, pulling the bulb names from the Tradfri gateway and bringing everything back in sync

If we’re not supposed to tinker with these files, we do need a way to solve these (admittedly infrequent) issues using the GUI front end.

1 Like

Just came here to say I had to edit this file manually as well to fix an issue with some old Wemo switches. Thankfully this thread was here, otherwise I’d still be befuddled. Gross!

UPDATE: Hooray Entity Editing via GUI! Nice work.