diff --git a/lib/TWCManager/Vehicle/TeslaAPI.py b/lib/TWCManager/Vehicle/TeslaAPI.py index 3b730df5..34fa1e76 100644 --- a/lib/TWCManager/Vehicle/TeslaAPI.py +++ b/lib/TWCManager/Vehicle/TeslaAPI.py @@ -1441,6 +1441,7 @@ def get_car_api(self, url, checkReady=True, provesOnline=True): elif req.status_code == 429: # We're explicitly being told to back off self.errorCount = max(30, self.errorCount) + self.carapi.updateCarApiLastErrorTime(self) return False, None except json.decoder.JSONDecodeError: pass