mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-28 22:45:01 +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):
|
class MikrotikRouterOSUpdate(MikrotikEntity, UpdateEntity):
|
||||||
"""Define an Mikrotik Controller Update entity."""
|
"""Define an Mikrotik Controller Update entity."""
|
||||||
|
|
||||||
TYPE = DEVICE_UPDATE
|
|
||||||
_attr_device_class = UpdateDeviceClass.FIRMWARE
|
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
inst,
|
inst,
|
||||||
|
@ -118,6 +115,9 @@ class MikrotikRouterOSUpdate(MikrotikEntity, UpdateEntity):
|
||||||
class MikrotikRouterBoardFWUpdate(MikrotikEntity, UpdateEntity):
|
class MikrotikRouterBoardFWUpdate(MikrotikEntity, UpdateEntity):
|
||||||
"""Define an Mikrotik Controller Update entity."""
|
"""Define an Mikrotik Controller Update entity."""
|
||||||
|
|
||||||
|
TYPE = DEVICE_UPDATE
|
||||||
|
_attr_device_class = UpdateDeviceClass.FIRMWARE
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
inst,
|
inst,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue