mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Add software version to Blink device info (#107548)
* add firmware to device * Version from attributes
This commit is contained in:
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…
x
Reference in New Issue
Block a user