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
|
||||
def device_info(self) -> DeviceInfo:
|
||||
"""Return the device information."""
|
||||
return {
|
||||
"identifiers": {(DOMAIN, "AsusWRT")},
|
||||
"name": self._host,
|
||||
"model": self._model,
|
||||
"manufacturer": "Asus",
|
||||
"sw_version": self._sw_v,
|
||||
}
|
||||
return DeviceInfo(
|
||||
identifiers={(DOMAIN, "AsusWRT")},
|
||||
name=self._host,
|
||||
model=self._model,
|
||||
manufacturer="Asus",
|
||||
sw_version=self._sw_v,
|
||||
configuration_url=f"http://{self._host}",
|
||||
)
|
||||
|
||||
@property
|
||||
def signal_device_new(self) -> str:
|
||||
|
|
Loading…
Add table
Reference in a new issue