Thermostat.disconnect -> Thermostat.end_session

QObject already has a disconnect method, avoid overriding it.
This commit is contained in:
atse 2024-07-08 11:54:44 +08:00
parent e6f62e9e19
commit 44bea87f03

View File

@ -104,7 +104,7 @@ class Thermostat(QObject, metaclass=PropertyMeta):
self.report[i]["interval"] for i in range(len(self.report))
]
async def disconnect(self):
async def end_session(self):
await self._client.end_session()
async def set_ipv4(self, ipv4):