|
发表于 2018-7-18 22:14:54
|
显示全部楼层
我按大神的方法把文件放到custom_components文件夹下了,但是还是显示加载失败,页面内没有东西出来啊,要怎么弄啊?
错误信息:
Error during setup of component climate
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 146, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
AttributeError: module 'custom_components.climate' has no attribute 'setup' |
|