mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-30 14:39:23 +02:00
added connections to host device tracker #24
This commit is contained in:
parent
028de35d03
commit
2620ea3761
1 changed files with 2 additions and 0 deletions
|
@ -330,6 +330,8 @@ class MikrotikControllerHostDeviceTracker(ScannerEntity):
|
|||
def device_info(self):
|
||||
"""Return a host description for device registry."""
|
||||
info = {
|
||||
"connections": {
|
||||
(CONNECTION_NETWORK_MAC, self._data["mac-address"])},
|
||||
"identifiers": {
|
||||
(
|
||||
DOMAIN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue