-
-
Notifications
You must be signed in to change notification settings - Fork 596
Closed
Labels
Description
The water level of air humidifiers is incorrect (assuming that the value in Mi Home is correct).
You have the following code (https://github.com/rytilahti/python-miio/blob/master/miio/airhumidifier_miot.py#L135):
return int(self.data["water_level"] / 1.25)
1.25 here should be changed to 1.2. But you are right, 125 still means the full (actually, overflowing) tank.
UPDATE: The model of my air humidifiers is zhimi.humidifier.ca1.