|
发表于 2022-2-12 22:55:39
|
显示全部楼层
大佬,按照你说的做了以后发现日志下面这样,请问可以指点指点吗,谢谢
date stream content
2022-02-12 14:52:45 stdout [33m2022-02-12 22:52:45 WARNING (MainThread) [homeassistant.bootstrap] Setup timed out for bootstrap - moving forward[0m
2022-02-12 14:47:38 stdout ImportError: cannot import name 'ClimateDevice' from 'homeassistant.components.climate' (/usr/src/homeassistant/homeassistant/components/climate/__init__.py)[0m
2022-02-12 14:47:38 stdout from homeassistant.components.climate import (ClimateDevice, PLATFORM_SCHEMA)
2022-02-12 14:47:38 stdout File "/config/custom_components/ccm15/climate.py", line 16, in <module>
2022-02-12 14:47:38 stdout File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2022-02-12 14:47:38 stdout File "<frozen importlib._bootstrap_external>", line 850, in exec_module
2022-02-12 14:47:38 stdout File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2022-02-12 14:47:38 stdout File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2022-02-12 14:47:38 stdout File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2022-02-12 14:47:38 stdout File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2022-02-12 14:47:38 stdout return _bootstrap._gcd_import(name[level:], package, level)
2022-02-12 14:47:38 stdout File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
2022-02-12 14:47:38 stdout return importlib.import_module(f"{self.pkg_path}.{platform_name}")
2022-02-12 14:47:38 stdout File "/usr/src/homeassistant/homeassistant/loader.py", line 583, in _import_platform
2022-02-12 14:47:38 stdout cache[full_name] = self._import_platform(platform_name)
2022-02-12 14:47:38 stdout File "/usr/src/homeassistant/homeassistant/loader.py", line 566, in get_platform
2022-02-12 14:47:38 stdout platform = p_integration.get_platform(domain)
2022-02-12 14:47:38 stdout File "/usr/src/homeassistant/homeassistant/config.py", line 877, in async_process_component_config
2022-02-12 14:47:38 stdout Traceback (most recent call last):
2022-02-12 14:47:38 stdout [31m2022-02-12 22:47:38 ERROR (MainThread) [homeassistant.config] Platform error: climate
2022-02-12 14:46:59 stdout [33m2022-02-12 22:46:59 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ccm15 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant[0m |
|