mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
improved ugpio scheme api
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user