Skip to content

Incorrect water level of air humidifiers #1135

@OleksandrBerchenko

Description

@OleksandrBerchenko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions