summaryrefslogtreecommitdiff
path: root/kvmd/plugins/atx/gpio.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-10 04:48:19 +0300
committerDevaev Maxim <[email protected]>2020-09-10 04:48:19 +0300
commit31fdcd2f3c9284cf72d6b92d51b88273d50e8dc1 (patch)
treea91720c1d012a3fc71920622b60ea029686a18f4 /kvmd/plugins/atx/gpio.py
parent015baee6d719723672037b0ea738106fbd2c8198 (diff)
removed processing flag
Diffstat (limited to 'kvmd/plugins/atx/gpio.py')
-rw-r--r--kvmd/plugins/atx/gpio.py16
1 files changed, 4 insertions, 12 deletions
diff --git a/kvmd/plugins/atx/gpio.py b/kvmd/plugins/atx/gpio.py
index 9ae16338..df65e88e 100644
--- a/kvmd/plugins/atx/gpio.py
+++ b/kvmd/plugins/atx/gpio.py
@@ -130,29 +130,21 @@ class Plugin(BaseAtx): # pylint: disable=too-many-instance-attributes
# =====
- async def power_on(self, wait: bool) -> bool:
+ async def power_on(self, wait: bool) -> None:
if not (await self.__get_power()):
await self.click_power(wait)
- return True
- return False
- async def power_off(self, wait: bool) -> bool:
+ async def power_off(self, wait: bool) -> None:
if (await self.__get_power()):
await self.click_power(wait)
- return True
- return False
- async def power_off_hard(self, wait: bool) -> bool:
+ async def power_off_hard(self, wait: bool) -> None:
if (await self.__get_power()):
await self.click_power_long(wait)
- return True
- return False
- async def power_reset_hard(self, wait: bool) -> bool:
+ async def power_reset_hard(self, wait: bool) -> None:
if (await self.__get_power()):
await self.click_reset(wait)
- return True
- return False
# =====