diff --git a/homeassistant/components/fritzbox/coordinator.py b/homeassistant/components/fritzbox/coordinator.py index 1f1a2097efc..926a9873ad5 100644 --- a/homeassistant/components/fritzbox/coordinator.py +++ b/homeassistant/components/fritzbox/coordinator.py @@ -87,7 +87,7 @@ class FritzboxDataUpdateCoordinator(DataUpdateCoordinator[FritzboxCoordinatorDat self.has_triggers = False LOGGER.debug("enable smarthome triggers: %s", self.has_triggers) - self.configuration_url = self.fritz.get_prefixed_host() + self.configuration_url = self.fritz.base_url await self.async_config_entry_first_refresh() self.cleanup_removed_devices(self.data) diff --git a/homeassistant/components/fritzbox/manifest.json b/homeassistant/components/fritzbox/manifest.json index 6f77c6b7cfe..cfb9fbea39b 100644 --- a/homeassistant/components/fritzbox/manifest.json +++ b/homeassistant/components/fritzbox/manifest.json @@ -7,7 +7,7 @@ "integration_type": "hub", "iot_class": "local_polling", "loggers": ["pyfritzhome"], - "requirements": ["pyfritzhome==0.6.18"], + "requirements": ["pyfritzhome==0.6.19"], "ssdp": [ { "st": "urn:schemas-upnp-org:device:fritzbox:1" diff --git a/requirements_all.txt b/requirements_all.txt index c06e0de50d4..65c4904fe76 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2063,7 +2063,7 @@ pyforked-daapd==0.1.14 pyfreedompro==1.1.0 # homeassistant.components.fritzbox -pyfritzhome==0.6.18 +pyfritzhome==0.6.19 # homeassistant.components.ifttt pyfttt==0.3 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 16d2dd3d4b3..cd38bbc6051 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1752,7 +1752,7 @@ pyforked-daapd==0.1.14 pyfreedompro==1.1.0 # homeassistant.components.fritzbox -pyfritzhome==0.6.18 +pyfritzhome==0.6.19 # homeassistant.components.ifttt pyfttt==0.3 diff --git a/tests/components/fritzbox/conftest.py b/tests/components/fritzbox/conftest.py index 63e922f5836..fd1098c759a 100644 --- a/tests/components/fritzbox/conftest.py +++ b/tests/components/fritzbox/conftest.py @@ -12,5 +12,5 @@ def fritz_fixture() -> Mock: patch("homeassistant.components.fritzbox.coordinator.Fritzhome") as fritz, patch("homeassistant.components.fritzbox.config_flow.Fritzhome"), ): - fritz.return_value.get_prefixed_host.return_value = "http://1.2.3.4" + fritz.return_value.base_url = "http://1.2.3.4" yield fritz