add mac and ip to attr of entity

This commit is contained in:
mathieu 2023-04-04 14:24:51 +02:00
parent 44e5335531
commit 233a9d6fc9

View File

@ -249,4 +249,6 @@ class ComputerSwitch(SwitchEntity):
"operating_system_version": utils.get_operating_system_version(
self._connection
),
"mac_address": self._mac_address,
"ip_address": self._host,
}