Skip to content

Commit

Permalink
Fix device id fetching from HeatPump class
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Feb 14, 2022
1 parent badc151 commit da5f29e
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 @@ -215,7 +215,7 @@ def name(self):

@property
def id(self):
return self.__info.get("id")
return self.__device_id

@property
def is_online(self):
Expand Down

0 comments on commit da5f29e

Please sign in to comment.