From af0b53cc79e519df190beb41003e7218fda19c00 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Sun, 22 Oct 2023 18:34:01 +0200 Subject: [PATCH] Add serial number to Axis (#102522) Co-authored-by: Robert Svensson --- homeassistant/components/axis/entity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/axis/entity.py b/homeassistant/components/axis/entity.py index 37be5355800..5a1fede53c7 100644 --- a/homeassistant/components/axis/entity.py +++ b/homeassistant/components/axis/entity.py @@ -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: