refactoring

This commit is contained in:
Maxim Devaev
2021-09-07 08:55:49 +03:00
parent ce5cd50d51
commit cc5b2a42b8
7 changed files with 7 additions and 52 deletions

View File

@@ -131,9 +131,6 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute
prev = new
await asyncio.sleep(self.__state_poll)
async def cleanup(self) -> None:
pass
async def read(self, pin: int) -> bool:
if not self.__online:
raise GpioDriverOfflineError(self)