Skip to content

Commit

Permalink
Fix issues with missing dictionary attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Jan 8, 2024
1 parent 3fbb295 commit 7578d3e
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 @@ -483,7 +483,7 @@ def __get_running_operational_statuses(
data_items_list = list(data.items())

current_operation_mode = [
value.name
value.get("name")
for key, value in data_items_list
if key == current_register_value
]
Expand Down

0 comments on commit 7578d3e

Please sign in to comment.