bug: fix is_mining for some miners.

This commit is contained in:
UpstreamData
2023-06-23 14:33:32 -06:00
parent 65fd66b8bf
commit 65d1695ce4
2 changed files with 21 additions and 0 deletions

View File

@@ -192,3 +192,12 @@ class AntminerOldWebAPI(BaseWebAPI):
async def set_miner_conf(self, conf: dict) -> dict:
return await self.send_command("set_miner_conf", **conf)
async def stats(self) -> dict:
return await self.send_command("miner_stats")
async def summary(self) -> dict:
return await self.send_command("miner_summary")
async def pools(self) -> dict:
return await self.send_command("miner_pools")