From 7d045a5839afcbed6eb661a40dba631e6867b391 Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Tue, 21 Jan 2025 07:17:04 -0800 Subject: [PATCH] fix: log an explicit message when intentionally resetting the connection --- roborock/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/roborock/api.py b/roborock/api.py index d5b60622..c7633dfd 100644 --- a/roborock/api.py +++ b/roborock/api.py @@ -91,6 +91,7 @@ def should_keepalive(self) -> bool: async def validate_connection(self) -> None: if not self.should_keepalive(): + self._logger.info("Resetting Roborock connection due to kepalive timeout") await self.async_disconnect() await self.async_connect()