Skip to content

Commit

Permalink
fix token renewal
Browse files Browse the repository at this point in the history
  • Loading branch information
jalcaras committed Nov 15, 2022
1 parent 3b24971 commit b19bfb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/weback_vacuum/WebackApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,9 @@ def __init__(self, user, password, region, country, app, client_id, api_version)
self.ws = None
self._refresh_time = 60
self.sent_counter = 0

# Reloading cached creds
self.verify_cached_creds()

async def check_credentials(self):
"""
Expand Down

0 comments on commit b19bfb9

Please sign in to comment.