Allow disabling home assistant watchdog (#109818)

This commit is contained in:
Mike Degatano 2024-02-08 14:09:53 -05:00 committed by GitHub
parent 35cb37ffb0
commit a0e515df1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -506,7 +506,6 @@ class HassIO:
options = { options = {
"ssl": CONF_SSL_CERTIFICATE in http_config, "ssl": CONF_SSL_CERTIFICATE in http_config,
"port": port, "port": port,
"watchdog": True,
"refresh_token": refresh_token.token, "refresh_token": refresh_token.token,
} }

View File

@ -293,7 +293,7 @@ async def test_setup_api_push_api_data(
assert aioclient_mock.call_count == 19 assert aioclient_mock.call_count == 19
assert not aioclient_mock.mock_calls[1][2]["ssl"] assert not aioclient_mock.mock_calls[1][2]["ssl"]
assert aioclient_mock.mock_calls[1][2]["port"] == 9999 assert aioclient_mock.mock_calls[1][2]["port"] == 9999
assert aioclient_mock.mock_calls[1][2]["watchdog"] assert "watchdog" not in aioclient_mock.mock_calls[1][2]
async def test_setup_api_push_api_data_server_host( async def test_setup_api_push_api_data_server_host(