diff --git a/platypush/plugins/gpio/sensor/__init__.py b/platypush/plugins/gpio/sensor/__init__.py index b6abbdb05..a25a2c355 100644 --- a/platypush/plugins/gpio/sensor/__init__.py +++ b/platypush/plugins/gpio/sensor/__init__.py @@ -8,6 +8,8 @@ class GpioSensorPlugin(Plugin): def get_measurement(self, *args, **kwargs): raise NotImplementedError('get_measurement should be implemented in a derived class') + def get_data(self, *args, **kwargs): + return self.get_measurement(*args, **kwargs) # vim:sw=4:ts=4:et: