From 3f96734d847983d7fd2b8c7d6b06023013eabd66 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Fri, 4 Oct 2019 11:13:19 +0200 Subject: [PATCH] removed unused config variable --- config-example.yaml | 2 -- pyfan.py | 1 - 2 files changed, 3 deletions(-) diff --git a/config-example.yaml b/config-example.yaml index 281a5c1..485d87b 100644 --- a/config-example.yaml +++ b/config-example.yaml @@ -2,7 +2,6 @@ loglevel: DEBUG thermalzones: - name: GPU+SYSTEM - hwmon: amdgpu source: amdgpu/temp1_input factor: 1000 fan: @@ -14,7 +13,6 @@ thermalzones: i: 1 d: 1.5 - name: CPU - hwmon: it8686 source: coretemp/temp1_input factor: 1000 fan: diff --git a/pyfan.py b/pyfan.py index 5d98edf..aadab04 100644 --- a/pyfan.py +++ b/pyfan.py @@ -20,7 +20,6 @@ class ThermalZone: self.factor = 1 / config["factor"] self.name = config["name"] self.target = config["target"] - self.hwname = config["hwmon"] self.hwmap = hwmon_map self.alias_replace = re.compile('|'.join(self.hwmap.keys())) self.setup_pwm()