Make Axis integration use config entry unique id (#30461)
* Make Axis integration use config entry unique id
This commit is contained in:
1 parent
075d3f6e32
commit
63347ebeb5
11 files changed
+87
-133
No files matched your search
@@ -56,8 +56,8 @@ class AxisNetworkDevice:
|
||||
|
||||
@property
|
||||
def serial(self):
|
||||
"""Return the mac of this device."""
|
||||
return self.config_entry.data[CONF_MAC]
|
||||
"""Return the serial number of this device."""
|
||||
return self.config_entry.unique_id
|
||||
|
||||
async def async_update_device_registry(self):
|
||||
"""Update device registry."""
|
||||
|
||||
Reference in new issue
Block a user