Avoid executor job to start http if server_host is unspecified (#114609)
* Avoid executor job to start http if server_host is unspecified Same as #112522 for http * adjust test * CONF_SERVER_HOST is always set now
This commit is contained in:
parent
56d0ad27f0
commit
7a2e529bb7
2 changed files with 7 additions and 2 deletions
|
@ -135,6 +135,7 @@ def test_secrets(mock_is_file, event_loop, mock_hass_config_yaml: None) -> None:
|
|||
"server_port": 8123,
|
||||
"ssl_profile": "modern",
|
||||
"use_x_frame_options": True,
|
||||
"server_host": ["0.0.0.0", "::"],
|
||||
}
|
||||
assert res["secret_cache"] == {
|
||||
get_test_config_dir("secrets.yaml"): {"http_pw": "http://google.com"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue