support up to 8 fan/temp sensors
[vuplus_dvbapp] / lib / python / Components / Sensors.py
index 7f63455..8898a03 100644 (file)
@@ -67,6 +67,6 @@ class Sensors:
                                        self.sensors_list.append((self.TYPE_TEMPERATURE, name, unit, "/proc/stb/sensors/%s" % dirname))
                for fanid in range(fancontrol.getFanCount()):
                        if fancontrol.hasRPMSensor(fanid):
-                               self.sensors_list.append((self.TYPE_FAN_RPM, _("fan"), "rpm", fanid))
+                               self.sensors_list.append((self.TYPE_FAN_RPM, _("Fan %d") % (fanid + 1), "rpm", fanid))
        
 sensors = Sensors()
\ No newline at end of file