diff --git a/platypush/backend/sensor/distance/__init__.py b/platypush/backend/sensor/distance/__init__.py index 3813d7c14..88cfb1a9b 100644 --- a/platypush/backend/sensor/distance/__init__.py +++ b/platypush/backend/sensor/distance/__init__.py @@ -15,7 +15,7 @@ class SensorDistanceBackend(SensorBackend): def get_measurement(self): """ get_measurement implementation """ plugin = get_plugin('gpio.sensor.distance') - return plugin.get_data().output + return {"distance": plugin.get_data().output } # vim:sw=4:ts=4:et: