Add configuration_url to Freebox integration (#58555)

This commit is contained in:
Quentame
2021-10-28 08:56:38 +02:00
committed by GitHub
parent feda48f599
commit bcd4ffdef3

View File

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