From 933940c69525af583e66d96f40343bdd6178034a Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 11 Jun 2018 22:12:25 +0200 Subject: [PATCH] Attribute name fix --- platypush/backend/sensor/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/sensor/__init__.py b/platypush/backend/sensor/__init__.py index 215c07128..3a6bb475d 100644 --- a/platypush/backend/sensor/__init__.py +++ b/platypush/backend/sensor/__init__.py @@ -21,7 +21,7 @@ class SensorBackend(Backend): """ super().__init__(**kwargs) - self.measurement = None + self.data = None self.thresholds = thresholds def get_measurement(self):