We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a369e25 commit 70a1cc1Copy full SHA for 70a1cc1
roborock/devices/device.py
@@ -127,7 +127,9 @@ async def connect_loop() -> None:
127
return
128
except RoborockException as e:
129
_LOGGER.info("Failed to connect to device %s: %s", self.name, e)
130
- _LOGGER.info("Retrying connection to device %s in %s seconds", self.name, backoff.total_seconds())
+ _LOGGER.info(
131
+ "Retrying connection to device %s in %s seconds", self.name, backoff.total_seconds()
132
+ )
133
await asyncio.sleep(backoff.total_seconds())
134
backoff = min(backoff * BACKOFF_MULTIPLIER, MAX_BACKOFF_INTERVAL)
135
except asyncio.CancelledError:
0 commit comments