From c4357d1afedf5f88ea420c89c4cc7685d7c5994b Mon Sep 17 00:00:00 2001 From: Ola Lidholm Date: Sun, 24 Mar 2024 20:13:27 +0100 Subject: [PATCH] Fix additional server error problem --- custom_components/polestar_api/polestar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/polestar_api/polestar.py b/custom_components/polestar_api/polestar.py index 8c9d8c5..2e5d630 100644 --- a/custom_components/polestar_api/polestar.py +++ b/custom_components/polestar_api/polestar.py @@ -94,7 +94,7 @@ async def async_update(self) -> None: except Exception as e: _LOGGER.error("Unexpected Error on update data %s", str(e)) self.polestarApi.next_update = datetime.now() + timedelta(seconds=60) - self.polestarApi.latest_call_code = 500 + self.polestarApi.latest_call_code_v2 = 500 self.polestarApi.updating = False def set_config_unit(self, unit:UnitSystem):