|
发表于 2023-4-15 21:35:50
|
显示全部楼层
大家的插件都没有用报错的情况吗,为什么我的一直都有报错(使用中没发现有什么影响),不知道什么原因也不知道怎么解决。强迫症真的很难受
Logger: homeassistant.helpers.integration_platform
Source: loader.py:796
First occurred: 21:33:34 (6 occurrences)
Last logged: 21:34:59
Unexpected error importing mobileL6/recorder.py
Unexpected error importing mobileL6/logbook.py
Unexpected error importing mobileL6/media_source.py
Unexpected error importing mobileL6/system_health.py
Unexpected error importing mobileL6/hardware.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 50, in _async_process_single_integration_platform_component
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 779, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 796, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.mobilel6.diagnostics'
|
|