Closed BlaineLi closed 3 years ago
Logger: homeassistant.config_entries Source: custom_components/havcs/init.py:250 First occurred: 上午11:16:47 (1 occurrences) Last logged: 上午11:16:47
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'
Logger: homeassistant.config_entries Source: custom_components/havcs/init.py:250 First occurred: 上午11:16:47 (1 occurrences) Last logged: 上午11:16:47
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'