DavidMStraub/homeassistant-homeconnect

Can't delete homeconnect integration

Closed this issue · 5 comments

After changing to homeconnect beta, I wanted to delete the homeconnect hacs integration (since home assistant added it to Core)

I just can't delete the integration. After rebooting the system it always states the following in notifications. How can I get rid of this entry?

invalid config
The following integrations and platforms could not be set up:

homeconnect
Please check your config.

I had the same thing, took a while before i noticed this:
https://www.home-assistant.io/integrations/home_connect/

home_connect:
  client_id: CLIENT_ID
  client_secret: CLIENT_SECRET

previously this was called homeconnect now it's named home_connect. Try renaming that in your configuration.yaml

I also had some problems when upgrading to the new builtin integration because I wasn't able to properly remove the old (homeconnect) integration via the HA frontend after I had already upgraded HA and uninstalled the custom integration from HACS:

  • Stop HA instance
  • Update name to home_connect in /config/configuration.yaml
  • Manually remove the integration and all devices from the files in /config/.storage. Use grep homeconnect /config/.storage/* to find all entries. Before you do this, make a backup of your .storage folder.
  • Restart HA and set up the new builtin integration.

For those who haven't updated HA yet, I guess they should first properly remove the integration via the HA frontend, then uninstall from HACS, then update the YAML and upgrade HA.

@sharkdp when you mentioned it I did the same first by removing all homeconnect in the .storage folder, then noticed the change of homeconnect to home_connect

Looks like a duplicate of #79.

Thanks for your support! Since I was afraid to delete something I should not, I left the entry till today. Updated my system to 0.111.3, tried it again - and succeeded in deleting it from the integration list.