1
0
Fork 0
This commit is contained in:
linuswck 2024-03-20 12:06:05 +08:00
parent 8431e9f43d
commit e525a3f354
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ class Kirdy:
line = await asyncio.shield(self._read_write(cmd)) line = await asyncio.shield(self._read_write(cmd))
async def end_session(self): async def end_session(self):
"""End session to Thermostat if connected, cancel connection if connecting""" """End session to Kirdy if connected, cancel connection if connecting"""
if self._connecting_task is not None: if self._connecting_task is not None:
self._connecting_task.cancel() self._connecting_task.cancel()