diff options
author | Carsten Spieß <mail@carsten-spiess.de> | 2023-08-23 12:17:31 +0200 |
---|---|---|
committer | Carsten Spieß <mail@carsten-spiess.de> | 2023-08-23 12:27:41 +0200 |
commit | 8262352fe35505909e8fe3f981da039389a6ccc7 (patch) | |
tree | 8acc55bc8acc5c8877128424051f02b1f22a313b /applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics | |
parent | b17650fbd23ee9028b8a7aa55e3a9615ddf934f8 (diff) |
luci-app-statistics: missing sensor types added
Added missing graphs for voltage, current, power and fanspeed sensors.
No new or modified translation strings.
Signed-off-by: Carsten Spieß <mail@carsten-spiess.de>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/sensors.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/sensors.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/sensors.js index a1a2472654..a55be1f4f4 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/sensors.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/sensors.js @@ -9,6 +9,7 @@ var sensorTypes = [ /^(?:cpu_temp|remote_temp|temp)[0-9]*$/, 'temperature', /^(?:fan)[0-9]*$/, 'fanspeed', /^(?:humidity)[0-9]*$/, 'humidity', + /^(?:curr)[0-9]*$/, 'current', /^(?:power)[0-9]*$/, 'power' ]; |