Add serial number to Axis (#102522)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
This commit is contained in:
parent
a04c37c59f
commit
af0b53cc79
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ class AxisEntity(Entity):
|
|||
self.device = device
|
||||
|
||||
self._attr_device_info = DeviceInfo(
|
||||
identifiers={(AXIS_DOMAIN, device.unique_id)}
|
||||
identifiers={(AXIS_DOMAIN, device.unique_id)},
|
||||
serial_number=device.unique_id,
|
||||
)
|
||||
|
||||
async def async_added_to_hass(self) -> None:
|
||||
|
|
Loading…
Add table
Reference in a new issue