Simplify reolink update unique_id (#88794)

simplify unique_id
This commit is contained in:
starkillerOG 2023-02-26 21:45:14 +01:00 committed by GitHub
parent 0fb41bdffe
commit 588b51bdfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ class ReolinkUpdateEntity(ReolinkBaseCoordinatorEntity, UpdateEntity):
"""Initialize a Netgear device."""
super().__init__(reolink_data, reolink_data.firmware_coordinator)
self._attr_unique_id = f"{self._host.unique_id}_update"
self._attr_unique_id = f"{self._host.unique_id}"
@property
def installed_version(self) -> str | None: