refactor: fix some formatting issues and bugs.

This commit is contained in:
UpstreamData
2024-01-15 14:18:41 -07:00
parent ce34dfdde8
commit edaf89c73a
9 changed files with 18 additions and 28 deletions

View File

@@ -89,10 +89,10 @@ class ePICWebAPI(BaseWebAPI):
return data
async def restart_epic(self) -> dict:
return await self.send_command("softreboot", post=True, parameters=None)
return await self.send_command("softreboot", post=True)
async def reboot(self) -> dict:
return await self.send_command("reboot", post=True, parameters=None)
return await self.send_command("reboot", post=True)
async def pause_mining(self) -> dict:
return await self.send_command("miner", post=True, parameters="Stop")