Skip fan RPMs
* Avoids reporting fan RPMs as 6000+ *C
This commit is contained in:
parent
6340bceb11
commit
3122a75f64
1 changed files with 3 additions and 0 deletions
|
|
@ -134,6 +134,9 @@ def get_sensor_data():
|
||||||
## current temp is labeled xxxx_input
|
## current temp is labeled xxxx_input
|
||||||
for _source, _labels in _sources.items():
|
for _source, _labels in _sources.items():
|
||||||
for _label, _temp in _labels.items():
|
for _label, _temp in _labels.items():
|
||||||
|
if _label.startswith('fan'):
|
||||||
|
# Skip fan RPMs
|
||||||
|
continue
|
||||||
if 'input' in _label:
|
if 'input' in _label:
|
||||||
sensor_data[_section][_adapter][_source] = {
|
sensor_data[_section][_adapter][_source] = {
|
||||||
'Current': _temp,
|
'Current': _temp,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue