Use Thermostat data model directly

This commit is contained in:
atse 2024-07-08 11:55:09 +08:00
parent 7e15ffd43c
commit e129998629

View File

@ -439,7 +439,7 @@ class MainWindow(QtWidgets.QMainWindow):
assert self.thermostat.connected()
await self.thermostat.set_ipv4(ipv4_settings)
await self.thermostat._client.end_session()
await self.thermostat.end_session()
await self._on_connection_changed(False)