No module named 'miio.fan'
See original GitHub issueI’m getting such error when checking my configuration or trying to restart HA:
Platform error fan.xiaomi_miio_airpurifier - No module named 'miio.fan'
my config:
fan:
- platform: xiaomi_miio_airpurifier
host: 192.168.1.104
model: zhimi.humidifier.ca1
name: "Humidifier #1"
token: !secret xiaomi_humidifier1_token
- platform: xiaomi_miio_airpurifier
host: 192.168.1.203
model: zhimi.humidifier.ca1
name: "Humidifier #2"
token: !secret xiaomi_humidifier2_token
HA Version core-2021.11.5
Custom component version = "0.6.17"
(depends on python-miio>=0.5.9.2
)
also default miio component installed (which I believe depends on python-miio==0.5.10
)
I do think that this start appearing after last HA restart but I suppose nothing related was changed. I even tried to revert my changes from last restart.
@syssi do you have any idea why this happened?
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Xiaomi Miio: Config flow could not be loaded in 2021.4.1
I had a Xiaomi fan/purifier manually configured with the miio platform. ... No module named 'miio.gateway.gateway'; 'miio.gateway' is not a ...
Read more >ModuleNotFoundError: No module named 'python-miio'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'python-miio' How to remove the Module.
Read more >python-miio — python-miio documentation
The miiocli command allows controlling supported devices from the command line, ... supported by their corresponding modules (e.g., roborockvacuum or fan ).
Read more >注意升级2021.4.0后xiaomi_miio及其不稳定- 『HomeAssistant ...
... to import component: No module named 'miio.gateway.gateway'; 'miio.gateway' is not a package 解决方法升级所有python-miio>=0.5.5.2:
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
Platform error fan.xiaomi_miio_airpurifier - No module named 'miio.fan'
I have this error after update to core-2022.3.0
Oh, I totally forgot to update it! It works now, thank you so much!