Skip to content

Commit

Permalink
fix(#14) Fix incorrect value name prefix for ITec heat pump operation…
Browse files Browse the repository at this point in the history
…al status
  • Loading branch information
klejejs committed Jan 4, 2023
1 parent 7097ee0 commit b46a8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ThermiaOnlineAPI/model/HeatPump.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def __get_operational_statuses_from_operational_status(self) -> Optional[Dict]:
if data is not None:
return {
"registerValues": data.get("valueNames", []),
"valueNamePrefix": "COMP_STATUS_",
"valueNamePrefix": "COMP_VALUE_",
}

# Try to get the data from the REG_OPERATIONAL_STATUS_PRIORITY_BITMASK register
Expand Down

0 comments on commit b46a8ff

Please sign in to comment.