Convinience to turn down fan on connect

This commit is contained in:
atse 2023-08-04 12:52:15 +08:00
parent 7e89bf5337
commit 02619f1338
1 changed files with 1 additions and 0 deletions

View File

@ -478,6 +478,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
self._status(self.hw_rev_data) self._status(self.hw_rev_data)
self.client_watcher.start_watching() self.client_watcher.start_watching()
self.fan_update(await self.client.fan()) self.fan_update(await self.client.fan())
# await self.client.set_param("fan", 1)
else: else:
self.status_lbl.setText("Disconnected") self.status_lbl.setText("Disconnected")
self.fan_pwm_warning.setPixmap(QtGui.QPixmap()) self.fan_pwm_warning.setPixmap(QtGui.QPixmap())