hi all, after upgrading to 0.62 of hass.io, the xiaomi vacuum disappear from the ui. i can’t even find it in the entities page. I double check the token but it is correct, so the ip address and the configuration.yaml.
The vacuum it’s correctly displayed on the mi home app and it works fine. any ideas?
that’s the error in the logger:
2018-01-30 19:23:56 ERROR (MainThread) [homeassistant.components.vacuum] Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 189, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/lib/python3.6/asyncio/coroutines.py", line 210, in coro
res = func(*args, **kw)
File "/usr/lib/python3.6/site-packages/homeassistant/components/vacuum/xiaomi_miio.py", line 90, in async_setup_platform
from miio import Vacuum
File "/usr/lib/python3.6/site-packages/miio/__init__.py", line 2, in <module>
from miio.protocol import Message, Utils
File "/usr/lib/python3.6/site-packages/miio/protocol.py", line 179, in <module>
Const(0x2131, Int16ub),
File "/usr/lib/python3.6/site-packages/construct/core.py", line 1894, in __init__
super(Const, self).__init__(subcon)
File "/usr/lib/python3.6/site-packages/construct/core.py", line 291, in __init__
raise TypeError("subcon should be a Construct field")
TypeError: subcon should be a Construct field
Yep. Also affects the WiFi switches. I’ll just wait it out till it’s fixed. I don’t have 0.62.1 yet anyway and I’m not going back to 0.61.1 just for this. I can wait.
Its specifically for hass.io try typing it into the window instead of copy paste. I think the ’ / " get messed up by the codeeditor in this forum (sorry should have said so before)