diff --git a/homeassistant/components/fritz/coordinator.py b/homeassistant/components/fritz/coordinator.py index 07957d5fa3b1..948b9930b0ad 100644 --- a/homeassistant/components/fritz/coordinator.py +++ b/homeassistant/components/fritz/coordinator.py @@ -221,10 +221,6 @@ class FritzBoxTools(DataUpdateCoordinator[UpdateCoordinatorDataType]): redact_debug_log=True, ) - if not self.connection: - LOGGER.error("Unable to establish a connection with %s", self.host) - return - LOGGER.debug( "detected services on %s %s", self.host, diff --git a/tests/components/fritz/test_coordinator.py b/tests/components/fritz/test_coordinator.py index 7955335a0998..0ca8dde5277d 100644 --- a/tests/components/fritz/test_coordinator.py +++ b/tests/components/fritz/test_coordinator.py @@ -156,31 +156,6 @@ async def test_clear_connection_cache( assert "Cleared FritzConnection call action cache" in caplog.text -async def test_no_connection( - hass: HomeAssistant, - caplog: pytest.LogCaptureFixture, - fc_class_mock, - fh_class_mock, - fs_class_mock, -) -> None: - """Test no connection established.""" - - entry = MockConfigEntry(domain=DOMAIN, data=MOCK_USER_DATA) - entry.add_to_hass(hass) - - with patch( - "homeassistant.components.fritz.coordinator.FritzConnectionCached", - return_value=None, - ): - await hass.config_entries.async_setup(entry.entry_id) - await hass.async_block_till_done(wait_background_tasks=True) - - assert ( - f"Unable to establish a connection with {MOCK_USER_DATA[CONF_HOST]}" - in caplog.text - ) - - async def test_no_software_version( hass: HomeAssistant, device_registry: dr.DeviceRegistry,