Add configuration_url to Freebox integration (#58555)

This commit is contained in:
Quentame
2021-10-28 08:56:38 +02:00
committed by Paulus Schoutsen
parent e1f9ae4b96
commit 211041eb3a

View File

@@ -184,6 +184,7 @@ class FreeboxRouter:
def device_info(self) -> DeviceInfo: def device_info(self) -> DeviceInfo:
"""Return the device information.""" """Return the device information."""
return DeviceInfo( return DeviceInfo(
configuration_url=f"https://{self._host}:{self._port}/",
connections={(CONNECTION_NETWORK_MAC, self.mac)}, connections={(CONNECTION_NETWORK_MAC, self.mac)},
identifiers={(DOMAIN, self.mac)}, identifiers={(DOMAIN, self.mac)},
manufacturer="Freebox SAS", manufacturer="Freebox SAS",