Just updated to latest release, and noticed a notification: " The following integrations and platforms could not be set up: * xiaomi_miio Please check your config and logs." . Checking the logs reveal:
2021-04-09 20:23:55 ERROR (SyncWorker_6) [homeassistant.util.package] Unable to install package python-miio==0.5.5: ERROR: Could not find a version that satisfies the requirement zeroconf<0.29,>=0.28 (from python-miio)
ERROR: No matching distribution found for zeroconf<0.29,>=0.28
2021-04-09 20:23:55 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_miio: Requirements for xiaomi_miio not found: ['python-miio==0.5.5'].
I don’t yet see any stuff that is not working. But could not find info so decided to share in case others also see similar errors.
I was getting the same, but manually installed python-miio 0.5.5 and now everything is OK.
My Roborock stopped working in HA, so I really needed to find a fix.
I’m using HA supervised, so basically ran:
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip install python-miio==0.5.5
Thank you @felgy ! As a new HA version was available shortly after my post, i updated my HA (running ‘Home Assistant Core’), and i had the idea somehow that new HA version solved it. Followed your instructions nevertheless, just to make sure :-). Thank you for your reply. Not sure what triggers you to mention the Roborock, but anyway, we just received our S5 Max : i did check out only for a short time whether and how to integrate it into HA, but didn’t yet find a way i liked (so far, the Roborock app seems nice to have working, for instance).
I have the S50, and yeah… Although I have it integrated in HA, I use the Mi Home app. Basically I have it in HA so I can track its state and… Just because I like to add everything to HA.