Open kylinfedora opened 3 years ago
2021-03-06 11:36:27 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 主配置[Web界面] 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 254, in async_setup_entry http_manager = hass.data[DOMAIN][DATA_HAVCS_HTTP_MANAGER] = HavcsHttpManager(hass, conf.get(CONF_HTTP, {}).get(CONF_HA_URL, get_url(hass)), DEVICE_CONFIG_SCHEMA, SETTINGS_CONFIG_SCHEMA) File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 84, in get_url request_host = _get_request_host() File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 124, in _get_request_host raise NoURLAvailableError homeassistant.helpers.network.NoURLAvailableError
2021-03-06 11:36:27 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 主配置[Web界面] 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 254, in async_setup_entry http_manager = hass.data[DOMAIN][DATA_HAVCS_HTTP_MANAGER] = HavcsHttpManager(hass, conf.get(CONF_HTTP, {}).get(CONF_HA_URL, get_url(hass)), DEVICE_CONFIG_SCHEMA, SETTINGS_CONFIG_SCHEMA) File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 84, in get_url request_host = _get_request_host() File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 124, in _get_request_host raise NoURLAvailableError homeassistant.helpers.network.NoURLAvailableError