summaryrefslogtreecommitdiff
path: root/kvmd/plugins/atx/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/atx/__init__.py')
-rw-r--r--kvmd/plugins/atx/__init__.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/kvmd/plugins/atx/__init__.py b/kvmd/plugins/atx/__init__.py
index 902e3e7c..f05cef78 100644
--- a/kvmd/plugins/atx/__init__.py
+++ b/kvmd/plugins/atx/__init__.py
@@ -51,6 +51,11 @@ class BaseAtx(BasePlugin):
yield {}
raise NotImplementedError
+ async def cleanup(self) -> None:
+ pass
+
+ # =====
+
async def power_on(self) -> bool:
raise NotImplementedError
@@ -63,6 +68,8 @@ class BaseAtx(BasePlugin):
async def power_reset_hard(self) -> bool:
raise NotImplementedError
+ # =====
+
async def click_power(self) -> None:
raise NotImplementedError
@@ -72,9 +79,6 @@ class BaseAtx(BasePlugin):
async def click_reset(self) -> None:
raise NotImplementedError
- async def cleanup(self) -> None:
- pass
-
# =====
def get_atx_class(name: str) -> Type[BaseAtx]: