Thermostat.disconnect -> Thermostat.end_session
QObject already has a disconnect method, avoid overriding it.
This commit is contained in:
parent
e6f62e9e19
commit
44bea87f03
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user