Add Nuki ID as serial number (#111381)
* Nuki add Nuki ID as serial number * add hardwareId to bridge * __init__.py aktualisieren Co-authored-by: Pascal Reeb <pascal@reeb.io> * __init__.py aktualisieren Co-authored-by: Pascal Reeb <pascal@reeb.io> --------- Co-authored-by: Pascal Reeb <pascal@reeb.io>pull/111412/head
parent
fa103ec924
commit
e116d2a721
|
@ -209,6 +209,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
|||
name=f"Nuki Bridge {bridge_id}",
|
||||
model="Hardware Bridge",
|
||||
sw_version=info["versions"]["firmwareVersion"],
|
||||
serial_number=parse_id(info["ids"]["hardwareId"]),
|
||||
)
|
||||
|
||||
try:
|
||||
|
@ -384,4 +385,5 @@ class NukiEntity(CoordinatorEntity[NukiCoordinator], Generic[_NukiDeviceT]):
|
|||
model=self._nuki_device.device_model_str.capitalize(),
|
||||
sw_version=self._nuki_device.firmware_version,
|
||||
via_device=(DOMAIN, self.coordinator.bridge_id),
|
||||
serial_number=parse_id(self._nuki_device.nuki_id),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue