- 积分
- 574
- 金钱
- 454
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 574
- 金钱
- 454
- HASS币
- 0
|
发表于 2021-3-18 12:26:16
|
显示全部楼层
Logger: homeassistant.setup
Source: custom_components/zhimsg/miaimsg.py:2
First occurred: 下午12:08:07 (1 occurrences)
Last logged: 下午12:08:07
Error during setup of component zhimsg
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/config/custom_components/zhimsg/__init__.py", line 44, in async_setup
module = import_module('.' + attr, __package__)
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/zhimsg/miaimsg.py", line 2, in <module>
from ..zhimi import get_miio_service
ImportError: cannot import name 'get_miio_service' from 'custom_components.zhimi' (/config/custom_components/zhimi/__init__.py)
请教下这是什么问题呢? |
|