Skip to content

Commit f096dc0

Browse files
committed
fix: reset start_future each loop
1 parent d38fb26 commit f096dc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roborock/mqtt/roborock_session.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ async def _run_reconnect_loop(self, start_future: asyncio.Future[None] | None) -
125125
return
126126

127127
self._healthy = False
128+
start_future = None
128129
if self._stop:
129130
_LOGGER.debug("MQTT session closed, stopping retry loop")
130131
return

0 commit comments

Comments
 (0)