From e129998629749755520a01196628dc55145a2b76 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 8 Jul 2024 11:55:09 +0800 Subject: [PATCH] Use Thermostat data model directly --- pytec/tec_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 4c45c19..0cf202d 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -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)