From 12257812ab7b584a540a48b345f7f1c3efdd79f2 Mon Sep 17 00:00:00 2001 From: "Sean E. Russell" Date: Wed, 27 Jan 2021 09:06:09 -0600 Subject: Fixes #6, no temperatures shown on Raspberry Pi. --- devices/temp_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/devices/temp_linux.go b/devices/temp_linux.go index c0f4cae..b248006 100644 --- a/devices/temp_linux.go +++ b/devices/temp_linux.go @@ -26,6 +26,7 @@ func devs() []string { for _, sensor := range sensors { label := sensor.SensorKey label = strings.TrimSuffix(sensor.SensorKey, "_input") + label = strings.TrimSuffix(label, "_thermal") rv = append(rv, label) sensorMap[sensor.SensorKey] = label } -- cgit v1.2.3