diff --git a/pyasic/API/btminer.py b/pyasic/API/btminer.py index b77abdd3..43f1f3fb 100644 --- a/pyasic/API/btminer.py +++ b/pyasic/API/btminer.py @@ -439,8 +439,8 @@ class BTMinerAPI(BaseMinerAPI): self, auto: bool = True, color: str = "red", - period: int = 2000, - duration: int = 1000, + period: int = 60, + duration: int = 20, start: int = 0, ) -> dict: """Set the LED on the miner using the API. diff --git a/pyasic/miners/_backends/btminer.py b/pyasic/miners/_backends/btminer.py index 7c034894..b16ba3e9 100644 --- a/pyasic/miners/_backends/btminer.py +++ b/pyasic/miners/_backends/btminer.py @@ -144,6 +144,9 @@ class BTMiner(BaseMiner): async def fault_light_on(self) -> bool: try: data = await self.api.set_led(auto=False) + await self.api.set_led( + auto=False, color="green", start=0, period=1, duration=0 + ) except APIError: return False if data: