|
官方的Xiaomi Miio插件一直未加载,删也删不掉
Miot Auto,Aircondiontioningcompanion等一些插件也都报错
Error adding entity None for domain climate with platform xiaomi_miio_airconditioningcompanion
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 796, in _async_add_entity
capabilities=entity.capability_attributes,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 324, in __getattribute__
return super().__getattribute__(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 494, in capability_attributes
data[ATTR_FAN_MODES] = self.fan_modes
^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 324, in __getattribute__
return super().__getattribute__(__name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 465, in fan_modes
from miio.airconditioningcompanion import FanSpeed
ModuleNotFoundError: No module named 'miio.airconditioningcompanion'
尝试重装homeassistant,更新python-miio,回退到用python3.11的2024.1版本都没有解决
|
|