homeassistant-vacuum-viomi
homeassistant-vacuum-viomi copied to clipboard
cannot import name 'ROCKROBO_S7_MAXV' from 'miio.vacuum' (/usr/local/lib/python3.10/site-packages/miio/vacuum.py
I dont have ROCKROBO_S7_MAXV, i usually need to do double reboot to get rid of this warning and get integration working.
2022-11-26 07:32:51.480 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_miio: Unable to import component: cannot import name 'ROCKROBO_S7_MAXV' from 'miio.vacuum' (/usr/local/lib/python3.10/site-packages/miio/vacuum.py) 2022-11-26 07:32:51.573 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of xiaomi_viomi. Setup failed for dependencies: xiaomi_miio 2022-11-26 07:32:51.579 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration xiaomi_viomi: (DependencyError(...), 'Could not setup dependencies: xiaomi_miio')
Also, im not sure if this correct repo :]
Same here, becasue xiaomi_viomi has a dependency on xiaomi_miio (python-miio==0.5.9)
Same here, becasue xiaomi_viomi has a dependency on xiaomi_miio (python-miio==0.5.9)
Same issue. Tried to install miio integration - also error - no such model (I have viomi.vacuum.v7)
Having same issue, viomi.vacuum.v8
Has anyone found a way around this problem?
In another issue they are suggesting change manually dependency, but it does not work for me.
It is due to a dependency mismatch. Change
"python-miio==0.5.9"
to"python-miio>=0.5.9"
inmanifest.json
and it will work again.
I am able to setup integration via GUI, but when I restart HA later, it won't load again with error Setup failed for xiaomi_miio: Unable to import component: cannot import name 'ROCKROBO_S7_MAXV' from 'miio.vacuum'
In another issue they are suggesting change manually dependency, but it does not work for me.
It is due to a dependency mismatch. Change
"python-miio==0.5.9"
to"python-miio>=0.5.9"
inmanifest.json
and it will work again.
Thanks for the quick replies guys! This change on manifest.json solved the problem! I could finally get the entity back! Thanks for the tip.
Hm, im still getting this error once in a while ..
having the same issue, modified manifest.json but didn´t work. Any other suggestion?
Same problem, any updates?
This custom extension needs more love ;) Looks like it's not maintained :(
@zen I have switched to https://github.com/al-one/hass-xiaomi-miot and never looked back... works flawlessly.