LiquidGUI [1.1.0.0] DEV
- Implemented the ability to change fan speed. - Placeholder GUI button to max out fan speed.
This commit is contained in:
+8
-2
@@ -1,4 +1,4 @@
|
||||
from liquidctl import find_liquidctl_devices
|
||||
from liquidctl import find_liquidctl_devices, cli
|
||||
|
||||
class LiquidCTL_Init():
|
||||
device_name = None
|
||||
@@ -34,4 +34,10 @@ class LiquidCTL_Init():
|
||||
elif key == "Fan speed":
|
||||
self.device_fanSpeed = value
|
||||
elif key == "Pump speed":
|
||||
self.device_pumpSpeed = value
|
||||
self.device_pumpSpeed = value
|
||||
|
||||
def SetFanSpeed(self, speed):
|
||||
with self.dev.connect():
|
||||
cli._device_set_speed(self.dev, args={"<temperature>": [],
|
||||
"<channel>": "fan",
|
||||
"<percentage>": [str(speed)]})
|
||||
Reference in New Issue
Block a user