robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
306 stars 59 forks source link

[BUG] Car with this VIN is already configured #527

Closed WillScott73 closed 5 months ago

WillScott73 commented 7 months ago

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

I deleted this integration when it stopped working. I've just tried to add it again, and I can't. I get a popup stating that "Car with this VIN is already configured"

I guess removing the integration previously left something behind.

oliverrahner commented 7 months ago

I haven't dealt with that part of the integration yet (we are mainly focused on the backend library right now). I guess we should handle this more gracefully, but as a workaround it should be enough to make sure you don't have any old devices remaining:

Settings > Devices & services > Devices

Make sure that you are displaying all entries, possibly including disabled ones, then search for "volkswagen". If any entries come up that show "Volkswagen We Connect" in the Integration column, delete them, they will be recreated after you newly set up the integration.

irqnet commented 6 months ago

Same issue here, not able to delete those orphan / hidden entities from the devices tab.

Just removed them from /config/.storage/core_enitites and they are now gone in the entities list, but still getting the same error message, that the car is already configured.

Edit: got it solved, just rebootet HA a couple of times.

stickpin commented 5 months ago

It's a known problem in HA, not related to integration. Sometimes for whatever reason you have to clean it manually from the files inside the /config/.storage/ folder.