homeassistant-jlrincontrol icon indicating copy to clipboard operation
homeassistant-jlrincontrol copied to clipboard

Not possible to remove a car with setup of 2 cars

Open Liam-Whiteside opened this issue 1 year ago • 6 comments

I've got 2 cars setup in HA, one of which I now need to remove, however there doesn't appear to be a delete option. I'm trying to avoid uninstalling the integration completely and re-adding it. Is there an easier way to do this that I'm missing?

Liam-Whiteside avatar Aug 06 '23 19:08 Liam-Whiteside

Is this one instance with 2 cars or 2 instances with one car each. Ie are both cars on the same account?

msp1974 avatar Aug 06 '23 19:08 msp1974

One instance, one account, 2 cars. I can disable one car (by disabling the device) but it still seems to be trying to connect to it and I can’t find any way of deleting the device and entities.

Liam-Whiteside avatar Aug 06 '23 20:08 Liam-Whiteside

ATM you can't. I presume this car is no longer on your account? There is a major update due soon (just need to finish testing as virtually a full rewrite to update to current HA standards) which will allow you to delete device. However, if the car is off your account, reloading the integration will stop it trying to get info for this car, will allow you to delete the orphaned entities but just leave the device there.

msp1974 avatar Aug 07 '23 15:08 msp1974

Thanks. Good to know it wasn't that I'd missed an option somewhere. I'll either remove the integration and add it with just the current car, or see if you release the new version before I get around to that.

Liam-Whiteside avatar Aug 07 '23 15:08 Liam-Whiteside

This should be resolved in v3.0.0beta1 but will leave open until v3.0.0 is released

msp1974 avatar Feb 01 '24 17:02 msp1974

Confirmed that installing v3.0.0beta1 I've been able to remove the old vehicle (will report other issues with this version separately)

Liam-Whiteside avatar Feb 02 '24 13:02 Liam-Whiteside