bug: fix wrong fault light setting when setting fault light to off.

This commit is contained in:
UpstreamData
2023-09-18 09:35:19 -06:00
parent 269b13f6c1
commit 7c0dfc49dd

View File

@@ -109,7 +109,7 @@ class AntminerModern(BMMiner):
data = await self.web.blink(blink=False) data = await self.web.blink(blink=False)
if data: if data:
if data.get("code") == "B100": if data.get("code") == "B100":
self.light = True self.light = False
return self.light return self.light
async def reboot(self) -> bool: async def reboot(self) -> bool: