Skip to content

Commit 304cfee

Browse files
committed
Fixed: Retry connecting to device
1 parent b997efb commit 304cfee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/airthings_wave/airthings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ async def connect(self, mac, retries=10):
239239
ret = await self._dev.connect()
240240
if ret:
241241
_LOGGER.debug("Connected to {}".format(mac))
242-
break
242+
break
243243
except Exception as e:
244244
if tries == retries:
245245
_LOGGER.info("Not able to connect to {}".format(mac))

0 commit comments

Comments
 (0)