Skip to content

Commit

Permalink
Fix possible undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ollo69 committed Oct 11, 2024
1 parent 44f9e7d commit 523bde1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/smartthinq_sensors/wideq/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ async def refresh(self, query_device=False) -> Any | None:
self._invalid_credential_count = 0

state = None
retry = False
for iteration in range(MAX_RETRIES):
_LOGGER.debug("Polling...")
# Wait one second between iteration
Expand Down

0 comments on commit 523bde1

Please sign in to comment.