fixed firmware update sensor

This commit is contained in:
Tomaae 2023-08-09 10:18:46 +02:00
parent 6caaa4e891
commit 514a930d04
No known key found for this signature in database
GPG key ID: 2F97770867DAA4E6

View file

@ -121,13 +121,12 @@ class MikrotikRouterBoardFWUpdate(MikrotikEntity, UpdateEntity):
def __init__(
self,
inst,
uid: "",
mikrotik_controller,
coordinator: MikrotikCoordinator,
entity_description,
uid: str | None = None,
):
"""Set up device update entity."""
super().__init__(inst, uid, mikrotik_controller, entity_description)
super().__init__(coordinator, entity_description, uid)
self._attr_supported_features = UpdateEntityFeature.INSTALL
self._attr_title = self.entity_description.title