summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-11-28 18:57:17 -0500
committerScott Murray <scott.murray@konsulko.com>2023-11-28 19:06:48 -0500
commit75e057bdb5ee7e663bd2d80055ffa2e961e14dbd (patch)
treedd0f191342ee7807def66400cf0b3b2fd799a006
parentbd61c899728016a850472387be468b8058a1309f (diff)
Fix HVAC signal updates
Add required targetValue attribute to HVAC signal setValue calls to indicate they are actuator target values. Bug-AGL: SPEC-4995 Change-Id: I07c5f17279b002f52d9a2b990cffbbceab816444 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-rw-r--r--Widgets/HVACPage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Widgets/HVACPage.py b/Widgets/HVACPage.py
index fd21f7b..b41d263 100644
--- a/Widgets/HVACPage.py
+++ b/Widgets/HVACPage.py
@@ -127,7 +127,7 @@ class HVACWidget(Base, Form):
item = list_widget.currentItem()
if item is not None:
list_widget.scrollToItem(item, 1)
- self.feed_kuksa.send_values(path, item.text()[:-2])
+ self.feed_kuksa.send_values(path, item.text()[:-2], "targetValue")
print(item.text())
def leftFanSpeed_sliderChanged(self):
@@ -137,7 +137,7 @@ class HVACWidget(Base, Form):
"""
value = self.leftFanSpeed_slider.value()
- self.feed_kuksa.send_values(self.HVAC.leftFanSpeed, str(value))
+ self.feed_kuksa.send_values(self.HVAC.leftFanSpeed, str(value), "targetValue")
print(value)
def rightFanSpeed_sliderChanged(self):
@@ -147,7 +147,7 @@ class HVACWidget(Base, Form):
"""
value = self.rightFanSpeed_slider.value()
- self.feed_kuksa.send_values(self.HVAC.rightFanSpeed, str(value))
+ self.feed_kuksa.send_values(self.HVAC.rightFanSpeed, str(value), "targetValue")
print(value)