This commit is contained in:
atse 2023-10-20 10:49:04 +08:00 committed by Tse Kwok Yan
parent 5128bcab9d
commit 0641c5329a
1 changed files with 2 additions and 0 deletions

View File

@ -659,6 +659,8 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
@asyncSlot(object, object)
async def send_command(self, param, changes):
"""Translates parameter tree changes into thermostat set_param calls"""
for inner_param, change, data in changes:
if change == 'value':
if inner_param.opts.get("param", None) is not None: