mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
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
@ -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…
x
Reference in New Issue
Block a user