|
本帖最后由 sctale 于 2021-12-21 18:55 编辑
我看了coriding大神的帖子https://bbs.hassbian.com/forum.php?mod=viewthread&tid=9851&extra=&ordertype=1&page=1,在配置HAVCS,配置检查那边显示配置有效,但是重启后在侧边栏啥都没有,而且进log那边看到是有报错的,有大大知道这个怎么解决吗?
图片是我的配置文件截图。
报错如下:
2021-03-27 19:37:11 WARNING (MainThread) [homeassistant.loader] You are using a custom integration hacs 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
2021-03-27 19:37:11 WARNING (MainThread) [homeassistant.loader] You are using a custom integration havcs 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
2021-03-27 19:37:11 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'havcs'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'havcs'
2021-03-27 19:37:15 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 主配置[configuration.yml] for havcs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 248, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/havcs/__init__.py", line 250, in async_setup_entry
http_manager = hass.data[DOMAIN][DATA_HAVCS_HTTP_MANAGER] = HavcsHttpManager(hass, conf.get(CONF_HTTP, {}).get(CONF_HA_URL, hass.config.api.base_url), DEVICE_CONFIG_SCHEMA)
AttributeError: 'ApiConfig' object has no attribute 'base_url'
|
|