vmatare / thinkfan

The minimalist fan control program
GNU General Public License v3.0
534 stars 61 forks source link

hwmon model is an invalid keyword #244

Open bhundven opened 2 months ago

bhundven commented 2 months ago

In https://github.com/vmatare/thinkfan/pull/211, I implemented the hwmon model config option. In the latest git build, model is no longer valid:

config:

  - hwmon: /sys/class/hwmon
    name: nvme
    model: WD_BLACK SN770 1TB
    indices: [1]

log:

Jun 13 13:12:57 mill systemd[1]: Starting thinkfan.service - thinkfan 2.0.0...
Jun 13 13:12:57 mill thinkfan[16494]: ERROR: /etc/thinkfan.conf:10:
                                          model: WD_BLACK SN770 1TB
                                          ^
                                      Invalid keyword.

This is on the current head: b1ad819e4ec79776cb5ccc61e2206a0c5d506ef5