Skip to content

Commit

Permalink
Fix operational status object key
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Jan 5, 2023
1 parent 90cab07 commit 52dbfc8
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 @@ -390,7 +390,7 @@ def __get_all_operational_statuses_from_operational_status(
return None

filtered_register_values = list(
filter(lambda value: value.get("visible"), data["registerValues"])
filter(lambda value: value.get("visible"), data["valueNames"])
)

operation_modes_map = map(
Expand Down

0 comments on commit 52dbfc8

Please sign in to comment.