_last_read should always contain the full output of the plugin, not
the filtered output
This commit is contained in:
parent
a3271f0522
commit
c9dc1aac44
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class SensorEnvirophatBackend(SensorBackend):
|
||||||
if enabled and sensor in sensors and sensors[sensor] != self._last_read.get(sensor)
|
if enabled and sensor in sensors and sensors[sensor] != self._last_read.get(sensor)
|
||||||
}
|
}
|
||||||
|
|
||||||
self._last_read = ret
|
self._last_read = sensors
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue