Skip to content

Commit 5725a55

Browse files
committed
Fix operational statuses return type
1 parent 64cdf55 commit 5725a55

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ThermiaOnlineAPI/model/HeatPump.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,13 +622,13 @@ def operational_status(self) -> Optional[Union[str, List[str]]]:
622622
return current_operation_mode[0]
623623

624624
@property
625-
def available_operational_statuses(self):
625+
def available_operational_statuses(self) -> Optional[List[str]]:
626626
data = self.__get_all_operational_statuses_from_operational_status()
627627

628628
if data is None:
629629
return None
630630

631-
return data.values()
631+
return list(data.values())
632632

633633
@property
634634
def available_operational_statuses_map(self):

0 commit comments

Comments
 (0)