diff --git a/miio/integrations/zhimi/humidifier/airhumidifier_miot_ca6.py b/miio/integrations/zhimi/humidifier/airhumidifier_miot_ca6.py index 25022e192..44f5735b2 100644 --- a/miio/integrations/zhimi/humidifier/airhumidifier_miot_ca6.py +++ b/miio/integrations/zhimi/humidifier/airhumidifier_miot_ca6.py @@ -143,7 +143,7 @@ def water_level(self) -> Optional[int]: 0 - empty/min, 1 - normal, 2 - full/max """ water_level = self.data["water_level"] - return {0: "0", 1: "50", 2: "100"}.get(water_level) + return {0: 0, 1: 50, 2: 100}.get(water_level) @property def dry(self) -> Optional[bool]: