[color=var(--paper-dialog-color, var(--primary-text-color))]You are using a custom integration for hf-weather which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
真的太感谢楼主了。目前功能都正常,只是启动时有一个错误:
2020-05-03 15:40:10 ERROR (MainThread) [homeassistant.config] Platform error: weather
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config.py", line 769, in async_process_component_config
platform = p_integration.get_platform(domain)
File "/usr/src/homeassistant/homeassistant/loader.py", line 277, in get_platform
f"{self.pkg_path}.{platform_name}"
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'homeassistant.components.template.weather'