mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-28 21:58:08 +02:00
fixed firmware update sensor
This commit is contained in:
parent
6caaa4e891
commit
514a930d04
1 changed files with 3 additions and 4 deletions
|
@ -121,13 +121,12 @@ class MikrotikRouterBoardFWUpdate(MikrotikEntity, UpdateEntity):
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
inst,
|
coordinator: MikrotikCoordinator,
|
||||||
uid: "",
|
|
||||||
mikrotik_controller,
|
|
||||||
entity_description,
|
entity_description,
|
||||||
|
uid: str | None = None,
|
||||||
):
|
):
|
||||||
"""Set up device update entity."""
|
"""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_supported_features = UpdateEntityFeature.INSTALL
|
||||||
self._attr_title = self.entity_description.title
|
self._attr_title = self.entity_description.title
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue