forked from M-Labs/thermostat
Update fan slider value immediately after fan auto
This commit is contained in:
parent
5e105884d1
commit
3d801666fa
|
@ -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())
|
||||
|
||||
|
|
Loading…
Reference in New Issue