diff --git a/pyasic/API/btminer.py b/pyasic/API/btminer.py index d0140f85..c4b22c05 100644 --- a/pyasic/API/btminer.py +++ b/pyasic/API/btminer.py @@ -245,9 +245,9 @@ class BTMinerAPI(BaseMinerAPI): try: data = await self._send_bytes(enc_command, timeout) except (asyncio.CancelledError, asyncio.TimeoutError) as e: - if command["cmd"] in ["reboot", "restart", "power_on"]: + if command["cmd"] in ["reboot", "restart", "power_on", "power_off"]: logging.info( - f"{self} - (reboot/restart/power_on) - Whatsminers currently break this. " + f"{self} - (reboot/restart/power_on/power_off) - Whatsminers currently break this. " f"Ignoring exception. Command probably worked." ) # FAKING IT HERE