Core: Old entities from an integration can't be removed

Created on 22 Feb 2019  路  5Comments  路  Source: home-assistant/core

Home Assistant release with the issue:
0.88.0

Last working Home Assistant release (if known):
First notice

Operating environment (Hass.io/Docker/Windows/etc.):
Hassio on a Pi3B+

Component/platform:
Deconz integration

Description of problem:
The integration screen shows entities that don't exist. Their status is unavailable but they don't show up in the entity list of home assistant. I can't remove them from the integration since clicking on them doesn't work.

They did exist in the past, but the value was always zero. Deconz must have fixed this and now the entity is removed. Home assistant still remembers this old entity. Deleting the integration and reconfiguring doesn't help.

Most helpful comment

You should be able to delete them from the Configuration -> Entity Registry page

All 5 comments

You should be able to delete them from the Configuration -> Entity Registry page

This happened to me with a LIFX integration light. I also have the SmartThings integration and it happened with the entity from that integration too. Deleting the entities from "Configuration -> Entity Registry page" didn't work. I worked around this by shutting down the docker container and removed the entities from config/.storage/core.device_registry and config/.storage/lovelace

I have a few hundreds of old devices in my telldus live integration and i don't want to remove the whole integration and need to reconfigure everything.
Maybe a setting that can remove all old not used things?
Those devices seems to have "via_device_id": null in core.device_registry file but removing a few 100 there would be a real pain.

Have this issue too, recently restarted again, and entities came from zmeuzb stick, forgot to reset it. Now i removed z-wave integration and my desktop is full of unused non functional entities i cannot remove anywhere ?

I removed the lovelace file in homeassistant/.storage. That of course reset my entire UI but that all the not found yellow entities were gone.
If it is only some entities you certainly could have also edited the file but sometimes starting over is a good thing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sogeniusio picture sogeniusio  路  3Comments

flsabourin picture flsabourin  路  3Comments

piitaya picture piitaya  路  3Comments

kirichkov picture kirichkov  路  3Comments

sibbl picture sibbl  路  3Comments