diff --git a/platypush/backend/sensor/envirophat.py b/platypush/backend/sensor/envirophat.py index 2d7711ab..ea51520b 100644 --- a/platypush/backend/sensor/envirophat.py +++ b/platypush/backend/sensor/envirophat.py @@ -47,7 +47,7 @@ class SensorEnvirophatBackend(SensorBackend): if enabled and sensor in sensors and sensors[sensor] != self._last_read.get(sensor) } - self._last_read = ret + self._last_read = sensors return ret