Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
CFenner committed Dec 26, 2024
1 parent feff0e4 commit ff41e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyViCare/PyViCareVentilationDevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def getVentilationLevels(self) -> list[str]:
@handleNotSupported
@deprecated(reason="renamed, use getVentilationLevels")
def getPermanentLevels(self) -> list[str]:
return self.getVentilationLevels()
return list[str](self.getVentilationLevels())

@handleNotSupported
def getVentilationLevel(self) -> str:
Expand Down

0 comments on commit ff41e50

Please sign in to comment.