summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-08 06:30:13 +0300
committerDevaev Maxim <[email protected]>2020-09-08 06:30:13 +0300
commit4767a44af86fc956e8c48d854855c35db63d61e9 (patch)
treea6d87f6194dd911b8e7b089175b4d15d3f872dc5 /kvmd/plugins/ugpio
parent71aa087b3ebccbaf91e96ce24aac1bc6a3a3484a (diff)
improved ugpio scheme api
Diffstat (limited to 'kvmd/plugins/ugpio')
-rw-r--r--kvmd/plugins/ugpio/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmd/plugins/ugpio/__init__.py b/kvmd/plugins/ugpio/__init__.py
index 0cc8662a..96195d30 100644
--- a/kvmd/plugins/ugpio/__init__.py
+++ b/kvmd/plugins/ugpio/__init__.py
@@ -58,6 +58,9 @@ class BaseUserGpioDriver(BasePlugin):
self._instance_name = instance_name
self._notifier = notifier
+ def get_instance_id(self) -> str:
+ return self._instance_name
+
def register_input(self, pin: int) -> None:
raise NotImplementedError