Skip to content

Unable to find mapping for zhimi.airp.mb3a, falling back to zhimi.airpurifier.ma4 #1907

@netizeni

Description

@netizeni

I'm aware of this closed issue which is basically identical and opened almost 2 years ago and these two merged PRs, but this message is showing on the current latest version of HA and spamming logs constantly with:

[miio.device] Found an unsupported model 'zhimi.airp.mb3a' for class 'AirPurifierMiot'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/
[miio.miot_device] Unable to find mapping for zhimi.airp.mb3a, falling back to zhimi.airpurifier.ma4

Describe the bug

When adding Mi 3H air purifier (the latest firmware version available) to the latest version of HA, logs gets flooded with above entries.

Version information (please complete the following information):

  • OS: Debian based
  • python-miio: 0.5.12

Device information:
Mi 3H air purifier

To Reproduce
As the standard login/password routine didn't work, I used token extractor to get API token and add the device manually. First warning after adding IP and token:
The device model is not known, not able to set up the device using config flow.
There's a dropdown below it to select a device model, and I selected zhimi.airpurifier.mb3. Next dialog shows:

Created configuration for zhimi.airp.mb3a.
We found the following devices:
zhimi.airp.mb3a
zhimi.airpurifier.mb3 (Xiaomi)

Once added, it appears in Devices as:

zhimi.airpurifier.mb3
by Xiaomi 

and it starts spamming the logs with those two entries. From the moment of adding the device yesterday until now, there are 5672 occurrences.

Expected behavior
Clean log without warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions