ImportError cannot import name Vacuum


I just installed the hass on my PI and i have tried to add a Xiaomi Vacuum, but i get the following error :

Wed Feb 27 2019 16:42:51 GMT+0200 (Eastern European Standard Time)

Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/”, line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.5/asyncio/”, line 400, in wait_for
return fut.result()
File “/usr/lib/python3.5/asyncio/”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/asyncio/”, line 239, in _step
result = coro.send(None)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/xiaomi_miio/”, line 107, in async_setup_platform
from miio import Vacuum
ImportError: cannot import name ‘Vacuum’

Any idea how to fix this?

I’m running on : Home Assistant

Thanks you!

Fixed, re-installed with the new version from hass website.