bug: fix wrong fault light setting when setting fault light to off.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user