diff options
author | Devaev Maxim <[email protected]> | 2020-09-08 06:30:13 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-08 06:30:13 +0300 |
commit | 4767a44af86fc956e8c48d854855c35db63d61e9 (patch) | |
tree | a6d87f6194dd911b8e7b089175b4d15d3f872dc5 /kvmd/plugins/ugpio/__init__.py | |
parent | 71aa087b3ebccbaf91e96ce24aac1bc6a3a3484a (diff) |
improved ugpio scheme api
Diffstat (limited to 'kvmd/plugins/ugpio/__init__.py')
-rw-r--r-- | kvmd/plugins/ugpio/__init__.py | 3 |
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 |