|
升级0.109.3 后xiaomi_miio 不能用,有人有同样问题吗?不知道怎么解决,求大神帮忙
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/fan.py", line 7, in <module>
from miio import ( # pylint: disable=import-error
ImportError: cannot import name 'AirPurifierMiot' from 'miio' (/usr/local/lib/python3.7/site-packages/miio/__init__.py)
2020-05-03 14:23:25 ERROR (MainThread) [homeassistant.config] Platform error: fan
2020-05-03 14:23:41 ERROR (MainThread) [homeassistant.components.vacuum] xiaomi_miio: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 322, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/vacuum.py", line 459, in update
self._fan_speeds = self._vacuum.fan_speed_presets()
AttributeError: 'Vacuum' object has no attribute 'fan_speed_presets'
|
|