Add software version to Blink device info (#107548)
* add firmware to device * Version from attributespull/107582/head
parent
e349608f92
commit
438ba7eaad
|
@ -65,6 +65,7 @@ class BlinkSyncModuleHA(
|
|||
name=f"{DOMAIN} {name}",
|
||||
manufacturer=DEFAULT_BRAND,
|
||||
serial_number=sync.serial,
|
||||
sw_version=sync.attributes.get("version"),
|
||||
)
|
||||
self._update_attr()
|
||||
|
||||
|
|
|
@ -79,6 +79,7 @@ class BlinkCamera(CoordinatorEntity[BlinkUpdateCoordinator], Camera):
|
|||
self._attr_device_info = DeviceInfo(
|
||||
identifiers={(DOMAIN, camera.serial)},
|
||||
serial_number=camera.serial,
|
||||
sw_version=camera.attributes.get("version"),
|
||||
name=name,
|
||||
manufacturer=DEFAULT_BRAND,
|
||||
model=camera.camera_type,
|
||||
|
|
Loading…
Reference in New Issue