diff options
author | Maxim Devaev <[email protected]> | 2021-09-07 08:55:49 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-09-07 10:31:28 +0300 |
commit | cc5b2a42b8acbaa3bc62a8a1850370f19a44d392 (patch) | |
tree | 9c43b7dbdce2309c555002278d2f78eb5fe3a626 /kvmd/plugins/ugpio/wol.py | |
parent | ce5cd50d51797ac9ba642bf70aa5e36b4997cbe4 (diff) |
refactoring
Diffstat (limited to 'kvmd/plugins/ugpio/wol.py')
-rw-r--r-- | kvmd/plugins/ugpio/wol.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/kvmd/plugins/ugpio/wol.py b/kvmd/plugins/ugpio/wol.py index 02eb9a8c..842ebd47 100644 --- a/kvmd/plugins/ugpio/wol.py +++ b/kvmd/plugins/ugpio/wol.py @@ -66,23 +66,6 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute "mac": Option("", type=valid_mac, if_empty=""), } - def register_input(self, pin: int, debounce: float) -> None: - _ = pin - _ = debounce - - def register_output(self, pin: int, initial: Optional[bool]) -> None: - _ = pin - _ = initial - - def prepare(self) -> None: - get_logger(0).info("Probing driver %s on MAC %s and %s:%d ...", self, self.__mac, self.__ip, self.__port) - - async def run(self) -> None: - await aiotools.wait_infinite() - - async def cleanup(self) -> None: - pass - async def read(self, pin: int) -> bool: _ = pin return False |