diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 2069c37..53a0e0f 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -133,6 +133,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): self.fan_power_slider.setEnabled(not enabled) if enabled: await self.tec_client.set_param("fan", "auto") + self.fan_update(await self.tec_client.fan()) else: await self.tec_client.set_param("fan", self.fan_power_slider.value())