From a0e515df1a327ab0c8dccaa3d3c45aab1594d40e Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Thu, 8 Feb 2024 14:09:53 -0500 Subject: [PATCH] Allow disabling home assistant watchdog (#109818) --- homeassistant/components/hassio/handler.py | 1 - tests/components/hassio/test_init.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/hassio/handler.py b/homeassistant/components/hassio/handler.py index 37b4b0ded9c..9381b7951d6 100644 --- a/homeassistant/components/hassio/handler.py +++ b/homeassistant/components/hassio/handler.py @@ -506,7 +506,6 @@ class HassIO: options = { "ssl": CONF_SSL_CERTIFICATE in http_config, "port": port, - "watchdog": True, "refresh_token": refresh_token.token, } diff --git a/tests/components/hassio/test_init.py b/tests/components/hassio/test_init.py index fe8eeb0b0f6..1c1197131c0 100644 --- a/tests/components/hassio/test_init.py +++ b/tests/components/hassio/test_init.py @@ -293,7 +293,7 @@ async def test_setup_api_push_api_data( assert aioclient_mock.call_count == 19 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]["watchdog"] + assert "watchdog" not in aioclient_mock.mock_calls[1][2] async def test_setup_api_push_api_data_server_host(