mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-28 14:34:28 +02:00
Move the firmware entity update to the right place
This commit is contained in:
parent
a588cec520
commit
e32ffd19a1
1 changed files with 3 additions and 3 deletions
|
@ -43,9 +43,6 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||
class MikrotikRouterOSUpdate(MikrotikEntity, UpdateEntity):
|
||||
"""Define an Mikrotik Controller Update entity."""
|
||||
|
||||
TYPE = DEVICE_UPDATE
|
||||
_attr_device_class = UpdateDeviceClass.FIRMWARE
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
inst,
|
||||
|
@ -118,6 +115,9 @@ class MikrotikRouterOSUpdate(MikrotikEntity, UpdateEntity):
|
|||
class MikrotikRouterBoardFWUpdate(MikrotikEntity, UpdateEntity):
|
||||
"""Define an Mikrotik Controller Update entity."""
|
||||
|
||||
TYPE = DEVICE_UPDATE
|
||||
_attr_device_class = UpdateDeviceClass.FIRMWARE
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
inst,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue