Skip fan RPMs

* Avoids reporting fan RPMs as 6000+ *C
This commit is contained in:
2Shirt 2019-01-02 17:31:19 -07:00
parent 6340bceb11
commit 3122a75f64
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -134,6 +134,9 @@ def get_sensor_data():
## current temp is labeled xxxx_input
for _source, _labels in _sources.items():
for _label, _temp in _labels.items():
if _label.startswith('fan'):
# Skip fan RPMs
continue
if 'input' in _label:
sensor_data[_section][_adapter][_source] = {
'Current': _temp,