Skip to content

Commit

Permalink
Fix update failing when user endpoint cached (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
WebSpider authored Feb 17, 2025
1 parent 61412ad commit da846f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/myskoda/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ async def _async_finish_startup(hass: HomeAssistant) -> None:
user = await self.myskoda.get_user()
else:
_LOGGER.debug("Skipping user update - cache is still valid.")
user = self.data.user
else:
user = await self.myskoda.get_user()

Expand Down

0 comments on commit da846f4

Please sign in to comment.