Add basic device information for UniFi clients device registry entries (#41839)
parent
58a432685c
commit
6ccdf62e6b
|
@ -54,4 +54,8 @@ class UniFiClient(UniFiBase):
|
|||
@property
|
||||
def device_info(self) -> dict:
|
||||
"""Return a client description for device registry."""
|
||||
return {"connections": {(CONNECTION_NETWORK_MAC, self.client.mac)}}
|
||||
return {
|
||||
"connections": {(CONNECTION_NETWORK_MAC, self.client.mac)},
|
||||
"default_name": self.name,
|
||||
"default_manufacturer": self.client.oui,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue