Skip to content

Commit a20d2ac

Browse files
authored
fix: log an explicit message when intentionally resetting the connection (#304)
1 parent ad2f23c commit a20d2ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roborock/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def should_keepalive(self) -> bool:
9191

9292
async def validate_connection(self) -> None:
9393
if not self.should_keepalive():
94+
self._logger.info("Resetting Roborock connection due to kepalive timeout")
9495
await self.async_disconnect()
9596
await self.async_connect()
9697

0 commit comments

Comments
 (0)