diff --git a/lib/TWCManager/Vehicle/TeslaAPI.py b/lib/TWCManager/Vehicle/TeslaAPI.py index a18ab055..5a0d1ada 100644 --- a/lib/TWCManager/Vehicle/TeslaAPI.py +++ b/lib/TWCManager/Vehicle/TeslaAPI.py @@ -229,6 +229,9 @@ def car_api_available( if self.getCarApiBearerToken() != "": if self.getVehicleCount() < 1: url = self.baseURL + if 'owner-api' in url: + url = url.replace('vehicles', 'products') + else: headers = { "accept": "application/json", "Authorization": "Bearer " + self.getCarApiBearerToken(),