Update fan too

This commit is contained in:
atse 2023-07-05 16:14:31 +08:00
parent ec9ce6537c
commit 608573c03c
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
await self.tec_client.connect(host=ip, port=port, timeout=30) await self.tec_client.connect(host=ip, port=port, timeout=30)
self._on_connection_changed(True) self._on_connection_changed(True)
self._hw_rev(await self.tec_client.hw_rev()) self._hw_rev(await self.tec_client.hw_rev())
# self.fan_update(await self.tec_client.fan()) self.fan_update(await self.tec_client.fan())
self.client_watcher = ClientWatcher(self.main_widget, self.tec_client, self.report_refresh_spin.value()) self.client_watcher = ClientWatcher(self.main_widget, self.tec_client, self.report_refresh_spin.value())
self.client_watcher.fan_update.connect(self.fan_update) self.client_watcher.fan_update.connect(self.fan_update)