When trying to rename Entity-ID “media_player.slaapkamer” to “media_player.gcslaapkamer” the following error is displayed: save failed: Entity is already registered
I looked everywhere, but can not find where this Entity-ID is stored elsewhere. (searched every yaml configuration file and on the States page) ID “media_player.gcslaapkamer” is not found.
I can change the ID to anything else, but not the ID I want. Perhaps I used this in the past and is it somewhere stored.
I mean, it’s been a while since I’ve done that because I moved to hassio. At some point, you HAD to setup the configuration for samba if you are using samba. You should already have done this before…
Yeah I did when I got it up and running, for the homeassistant folder, from instructions.
I don’t really have a lot of knowledge in Linux, putty/terminal stuff.
There’s not much too it. Instead of using the path to the HA folder, use a different path and name the section different. You just need to know the path to .storage. You could just expose the whole pi to share.
BTW, I’ve updated and the .storage folder resides inside the config folder but it’s hidden. So whatever you are doing to view your config folder structure, make sure you can view hidden folders.
I added a z-wave sensor, customized it, and then found it faulty so had to remove it from my system. Replaced it with a new one and noticed this same re-naming issue for each of the sensors on the device.
I’ve found the core.entity_registry file and removed all of the sensor references to that old node, but I’m till still getting the same error indicating that the entity is already registered.
Are there any other steps required other than simply removing those lines from the entity registry? Does it require reboot (haven’t yet as I’m waiting for battery powered z-wave devices to connect before I can do that) or something else?
ahhhh, that’s probably it. Will try that after I decide to install the next update.
Since my Z-Wave battery powered devices take what feels like forever to fully come back to life after each reboot and upgrade, I limit my reboots/poweroffs to times when I actually can spend a few minutes troubleshooting if/when it doesn’t come back 100%.
Petro - how does one turn off HA? I went to configuration->general->server Management and hit “stop” but bringing up the entity under dev-states doesn’t show the setup symbol (cog wheel) like it says here. So how do you change entity names?
This thread is old. what are you trying to do? If you are just trying to change the name, rename it via the cog. If the entity is already registered, you need to remove the other entity.
Thanks for the fast reply! @petro.
I completely missed the “Entity Registry” in Configuration page and ended up shutting down HA and going in with putty and editing the core-entity_registry file. I deleted all the old media players and renamed the new ones to the old.
I wished I’d have seen that earlier. Thanks again.
Bart