Add configuration_url
to AsusWrt integration (#58172)
This commit is contained in:
parent
f740302287
commit
038158508c
1 changed files with 8 additions and 7 deletions
|
@ -386,13 +386,14 @@ class AsusWrtRouter:
|
||||||
@property
|
@property
|
||||||
def device_info(self) -> DeviceInfo:
|
def device_info(self) -> DeviceInfo:
|
||||||
"""Return the device information."""
|
"""Return the device information."""
|
||||||
return {
|
return DeviceInfo(
|
||||||
"identifiers": {(DOMAIN, "AsusWRT")},
|
identifiers={(DOMAIN, "AsusWRT")},
|
||||||
"name": self._host,
|
name=self._host,
|
||||||
"model": self._model,
|
model=self._model,
|
||||||
"manufacturer": "Asus",
|
manufacturer="Asus",
|
||||||
"sw_version": self._sw_v,
|
sw_version=self._sw_v,
|
||||||
}
|
configuration_url=f"http://{self._host}",
|
||||||
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def signal_device_new(self) -> str:
|
def signal_device_new(self) -> str:
|
||||||
|
|
Loading…
Add table
Reference in a new issue