We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f52a4 commit b367b2dCopy full SHA for b367b2d
pyasic/config/fans.py
@@ -308,6 +308,12 @@ def from_boser(cls, grpc_miner_conf: dict):
308
if "minimumRequiredFans" in keys:
309
conf["minimum_fans"] = int(temperature_conf["minimumRequiredFans"])
310
return cls.manual(**conf)
311
+ if "disabled" in keys:
312
+ conf = {}
313
+ if "fanSpeedRatio" in temperature_conf["disabled"].keys():
314
+ conf["speed"] = int(temperature_conf["disabled"]["fanSpeedRatio"])
315
+ return cls.manual(**conf)
316
+ return cls.default()
317
318
@classmethod
319
def from_auradine(cls, web_fan: dict):
0 commit comments