We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91071ab commit 84af81cCopy full SHA for 84af81c
roborock/devices/device.py
@@ -161,7 +161,7 @@ async def connect_loop() -> None:
161
start_attempt.set_result(True)
162
self._has_connected = True
163
self._ready_callbacks(self)
164
- break
+ return
165
except RoborockException as e:
166
if not start_attempt.done():
167
start_attempt.set_result(False)
@@ -172,7 +172,7 @@ async def connect_loop() -> None:
172
173
start_attempt.set_exception(e)
174
self._logger.exception("Uncaught error during connect: %s", e)
175
176
except asyncio.CancelledError:
177
self._logger.debug("connect_loop was cancelled for device %s", self.duid)
178
finally:
0 commit comments