Deleted integrations seem to reappear every time I restart HA. This is both for Native integrations and ones via HACS.
I navigate to the integration, 3 dots to delete, refresh the integrations page to check it’s gone.
Then when I restart, the integration is back again.
“Tile” is an example of a native integration this happens with
Spotify Plus is another from HACS. This one is even more strange as I delete the download (which also seems to delete the custom github repo)
I check in the Custom Components folder to confirm there is no file there
Check the integrations page to see that it’s gone. But as soon as I restart, the integration is back again.
I’ve seen the same for the n8n add-on. I uninstalled it (+all data) and every restart gives me a repair saying it’s failed to start… well no **** it’s not even installed!!.. (confirmed by not being in the add on page)
This is very frustrating, can anybody help?
Thanks!
It could be a browser cache issue. After the uninstall, you might try clearing your browser cache, restarting Home Assistant, closing the browser window, then opening a new browser window to access your HA instance.
It could also be due to Application Credentials not being properly deleted for the integration. Sometimes HACS / HA does not do a good job with clearing those out when uninstalling, which will cause issues.
I have also seen instances where one has to manually clear things out of the entity registry by directly editing files in the HA config folder. Just be VERY careful if you go this route, and take an HA backup BEFORE you start deleting things!
I would chalk this up to a HACS error, but can’t prove it. It’s not anything that SpotifyPlus is doing, as HACS is supposed to completely take care of the install / uninstall process.
I’ve tried this a few times, but I think I have a deeper problem. It seems like every time I restart HA it forgets anything to do with modifications to Integrations.
If I add a new integration, or remove an existing one, it’s forgotten when I restart.
New integrations get removed, and deleted ones come back again.
@Whizzykid
It sounds like some sort of system-wide issue, versus a problem with the SpotifyPlus (or other specific) integration.
You might reach out to the HA developers on their discord forum; you would probably get a better / more timely answer there than on the HA Community Forum.
Turned out to be corrupted config_entries file… we’ll at least that’s what ChatGPT told me and it seemed to ring true.
Thank god for backups dating months in the past! Took a fair amount of work to bring things up to speed after restoring from that 7 month old Backup, but all is good now and everything saves on restart