add mac and ip to attr of entity
This commit is contained in:
parent
44e5335531
commit
233a9d6fc9
@ -249,4 +249,6 @@ class ComputerSwitch(SwitchEntity):
|
|||||||
"operating_system_version": utils.get_operating_system_version(
|
"operating_system_version": utils.get_operating_system_version(
|
||||||
self._connection
|
self._connection
|
||||||
),
|
),
|
||||||
|
"mac_address": self._mac_address,
|
||||||
|
"ip_address": self._host,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user