diff --git a/tests/components/sia/test_config_flow.py b/tests/components/sia/test_config_flow.py index 9679f4949e8..a91822c7846 100644 --- a/tests/components/sia/test_config_flow.py +++ b/tests/components/sia/test_config_flow.py @@ -209,6 +209,13 @@ async def test_abort_form(hass): assert get_abort["reason"] == "already_configured" +@pytest.fixture(autouse=True) +def mock_sia(): + """Mock SIAClient.""" + with patch("homeassistant.components.sia.hub.SIAClient", autospec=True): + yield + + @pytest.mark.parametrize( "field, value, error", [