diff --git a/PyViCare/PyViCareVentilationDevice.py b/PyViCare/PyViCareVentilationDevice.py index 66b94e4e..4169ffb2 100644 --- a/PyViCare/PyViCareVentilationDevice.py +++ b/PyViCare/PyViCareVentilationDevice.py @@ -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: