Fixes #6, no temperatures shown on Raspberry Pi.
This commit is contained in:
parent
af20668cb5
commit
12257812ab
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user