Skip to content

Commit

Permalink
Fix additional server error problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Ola Lidholm authored and leeyuentuen committed Mar 29, 2024
1 parent 7ee148d commit c4357d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/polestar_api/polestar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c4357d1

Please sign in to comment.