diff --git a/volkswagencarnet/vw_connection.py b/volkswagencarnet/vw_connection.py index 1d3b1dbd..19f65c3f 100644 --- a/volkswagencarnet/vw_connection.py +++ b/volkswagencarnet/vw_connection.py @@ -110,6 +110,7 @@ async def doLogin(self, tries: int = 1): # Add Vehicle class object for all VIN-numbers from account if loaded_vehicles.get("data") is not None: _LOGGER.debug("Found vehicle(s) associated with account.") + self._vehicles = [] for vehicle in loaded_vehicles.get("data"): self._vehicles.append(Vehicle(self, vehicle.get("vin"))) else: