home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.57k stars 29.91k forks source link

[XIAOMI_MIIO:INTEGRATION] Xiaomi Air Purifier 3 / 3H (xiaomi.airpurifier.ma4) throws command error #32476

Closed Valcob closed 4 years ago

Valcob commented 4 years ago

The problem

Unable to add the Xiaomi's Air purifier 3 / 3H with the following error Logger: homeassistant.components.xiaomi_miio.fan Integration: xiaomi_miio (documentation, issues) First occured: 9:40:10 PM (29 occurences) Last logged: 9:54:59 PM

Got exception while fetching the state: {'code': -5001, 'message': 'command error'} Connection lost. Reconnecting…

Environment

Problem-relevant configuration.yaml

Traceback/Error logs

waiting for this one I guess:

PR #634

Additional information

probot-home-assistant[bot] commented 4 years ago

Hey there @rytilahti, @syssi, mind taking a look at this issue as its been labeled with a integration (xiaomi_miio) you are listed as a codeowner for? Thanks!

rytilahti commented 4 years ago

That error is coming directly from the device, unfortunately I don't think there's anything that can be done in homeassistant code. If we find a solution, it should be fixed in the backend library (python-miio).