summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/hidrelay.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/ugpio/hidrelay.py')
-rw-r--r--kvmd/plugins/ugpio/hidrelay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/ugpio/hidrelay.py b/kvmd/plugins/ugpio/hidrelay.py
index 119c4ee5..7e18c72a 100644
--- a/kvmd/plugins/ugpio/hidrelay.py
+++ b/kvmd/plugins/ugpio/hidrelay.py
@@ -108,7 +108,7 @@ class Plugin(BaseUserGpioDriver):
prev_raw = raw
await asyncio.sleep(self.__state_poll)
- def cleanup(self) -> None:
+ async def cleanup(self) -> None:
self.__reset_pins()
self.__close_device()
self.__stop = True