diff --git a/docs/miners/supported_types.md b/docs/miners/supported_types.md index e8f89d98..1706d8f4 100644 --- a/docs/miners/supported_types.md +++ b/docs/miners/supported_types.md @@ -107,6 +107,7 @@ details {
  • S21 (Stock)
  • S21+ (Stock)
  • S21+ Hydro (Stock)
  • +
  • S21+ Hydro (Stock)
  • S21 Pro (Stock)
  • T21 (Stock)
  • S21 Hydro (Stock)
  • diff --git a/pyasic/miners/factory.py b/pyasic/miners/factory.py index 9b63605b..1a1f7369 100644 --- a/pyasic/miners/factory.py +++ b/pyasic/miners/factory.py @@ -125,6 +125,7 @@ MINER_CLASSES = { "ANTMINER BHB68606": BMMinerS21, # ??? "ANTMINER S21+": BMMinerS21Plus, "ANTMINER S21+ HYD.": BMMinerS21PlusHydro, + "ANTMINER S21+ HYD": BMMinerS21PlusHydro, "ANTMINER S21 PRO": BMMinerS21Pro, "ANTMINER T21": BMMinerT21, "ANTMINER S21 HYD.": BMMinerS21Hydro, diff --git a/pyasic/rpc/btminer.py b/pyasic/rpc/btminer.py index 65604461..e84cfb10 100644 --- a/pyasic/rpc/btminer.py +++ b/pyasic/rpc/btminer.py @@ -1194,7 +1194,7 @@ class BTMinerV3RPCAPI(BaseMinerRPCAPI): self.salt = data["msg"]["salt"] return self.salt - async def get_miner_report(self) -> AsyncGenerator[dict]: + async def get_miner_report(self) -> AsyncGenerator[dict, None]: if self.writer is None: await self.connect()