Skip to content

Commit b46a8ff

Browse files
committed
fix(#14) Fix incorrect value name prefix for ITec heat pump operational status
1 parent 7097ee0 commit b46a8ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ThermiaOnlineAPI/model/HeatPump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def __get_operational_statuses_from_operational_status(self) -> Optional[Dict]:
357357
if data is not None:
358358
return {
359359
"registerValues": data.get("valueNames", []),
360-
"valueNamePrefix": "COMP_STATUS_",
360+
"valueNamePrefix": "COMP_VALUE_",
361361
}
362362

363363
# Try to get the data from the REG_OPERATIONAL_STATUS_PRIORITY_BITMASK register

0 commit comments

Comments
 (0)