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 dbffaab commit e4aeebcCopy full SHA for e4aeebc
roborock/local_api.py
@@ -48,7 +48,7 @@ def is_connected(self):
48
49
async def keep_alive_func(self, _=None):
50
await self.ping()
51
- self.keep_alive_task = self.loop.call_later(10, lambda: self.keep_alive_func())
+ self.keep_alive_task = self.loop.call_later(10, lambda: asyncio.create_task(self.keep_alive_func()))
52
53
async def async_connect(self) -> None:
54
async with self._mutex:
0 commit comments