From c9dc1aac44ec4df76071092f4a17601d97955a38 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 1 Aug 2019 23:41:46 +0200 Subject: [PATCH] _last_read should always contain the full output of the plugin, not the filtered output --- platypush/backend/sensor/envirophat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/sensor/envirophat.py b/platypush/backend/sensor/envirophat.py index 2d7711ab84..ea51520b84 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