Cannot import name 'AirHumidifierMiot' from 'miio'" - workaround
See original GitHub issueGet error, when check config:
Platform error fan.xiaomi_miio_airpurifier - cannot import name 'AirHumidifierMiot' from 'miio' (/usr/local/lib/python3.8/site-packages/miio/__init__.py)
Error appears, when adding to configuration.yaml:
fan:
- platform: xiaomi_miio_airpurifier
name: mi_humidifier_child
host: 192.168.x.xx
token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
model: deerma.humidifier.mjjsq
HA supervised. Xiaomi Mi Air Purifier, Air Humidifier, Air Fresh and Pedestal Fan Integration installed via HACS. System info:
arch | x86_64
-- | --
chassis | vm
dev | false
docker | true
docker_version | 19.03.11
hassio | true
host_os | HassOS 4.15
installation_type | Home Assistant OS
os_name | Linux
os_version | 5.4.72
python_version | 3.8.6
supervisor | 2020.11.0
timezone | Europe/Moscow
version | 0.117.4
virtualenv | false
Issue Analytics
- State:
- Created 3 years ago
- Comments:28 (11 by maintainers)
Top Results From Across the Web
Mi Smart Pedestal Fan - #179 by Grijzekop - Configuration
Hi, I have recently purchased one of these Mi Smart Pedestal Fans (see below) and whilst it works great the native app is...
Read more >miio.discovery — python-miio documentation - Read the Docs
Source code for miio.discovery. import codecs import inspect import logging import time from functools import partial from ipaddress import ip_address from ...
Read more >python-miio - PyPI
You can get some information from any miIO/MIoT device, including its device model, ... from miio import RoborockVacuum vac = RoborockVacuum("<ip address>", ...
Read more >cannot import name 'file_hash' from 'pooch.utils' - YouTube
How to resolve ImportError: cannot import name 'file_hash' from 'pooch.utils'
Read more >Python plugin: Xiaomi Mi Robot Vacuum - Page 5 - Domoticz
It should be more informative of why it can't be installed ! ... miio_server.py", line 17, in <module> from miio import Vacuum, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got the error
Platform error fan.xiaomi_miio_airpurifier - cannot import name 'FanMiot' from 'miio'
today with HA 0.118.0 after upgrading xiaomi_airpurifier from 0.6.1 to 0.6.2 I tried HACS and manual install from downloaded xiaomi_airpurifier-develop.zip Downgraded back to 0.6.1I have another error with this model. Errors starts with last version, before works fine
Platform error fan.xiaomi_miio_airpurifier - cannot import name 'FanMiot' from 'miio' (/usr/local/lib/python3.8/site-packages/miio/__init__.py)
I use homeassistant/qemux86-64-homeassistant:0.117.5 container, it has 0.5.4 python-miio