Skip to content

Commit

Permalink
Allow disabling home assistant watchdog (#109818)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 authored and frenck committed Feb 9, 2024
1 parent 3b7271d commit dbfee24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion homeassistant/components/hassio/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ async def update_hass_api(
options = {
"ssl": CONF_SSL_CERTIFICATE in http_config,
"port": port,
"watchdog": True,
"refresh_token": refresh_token.token,
}

Expand Down
2 changes: 1 addition & 1 deletion tests/components/hassio/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit dbfee24

Please sign in to comment.