mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Add basic device information for UniFi clients device registry entries (#41839)
This commit is contained in:
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…
x
Reference in New Issue
Block a user