How To Force Removal of an Entity

I have a strange issue where I had some HACS components installed that got archived and I clicked to remove them in HACS. Now I cannot restart via the UI because Check Config always reports the entities of these now removed custom components as being “not found”. I am able to restart from the command line, but I don’t want to have to do that for the sake of a few old entities.

I searched in the .storage/* files to see if I could just edit them out of JSON and they don’t show up there (or if they do then the names don’t match to what Config Validator reports).

How can I force these entities out of HA?

Platform error sensor.plex_recently_added - Integration 'plex_recently_added' not found. 
Platform error sensor.plex_recently_added - Integration 'plex_recently_added' not found. 
Platform error sensor.radarr_upcoming_media - Integration 'radarr_upcoming_media' not found. 
Platform error sensor.sonarr_upcoming_media - Integration 'sonarr_upcoming_media' not found.

Remove the integration in the integration menu or your configuration.yaml. Removing it from hacs just removed the files that reside in custom_components, it does not alter what you configured in home assistant.

2 Likes

Thanks, I didn’t even think that there were config entries for those but I am mistaken! I shouldn’t assume, if I hadn’t then this question wouldn’t have been posted!