From f6057274a08c2e6401483ec71a29da561af67ad0 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 28 Nov 2021 11:32:03 +0100 Subject: [PATCH] Variable name fix --- platypush/plugins/gpio/sensor/ltr559/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/gpio/sensor/ltr559/__init__.py b/platypush/plugins/gpio/sensor/ltr559/__init__.py index 68372d7c5..ff74e0c00 100644 --- a/platypush/plugins/gpio/sensor/ltr559/__init__.py +++ b/platypush/plugins/gpio/sensor/ltr559/__init__.py @@ -35,8 +35,8 @@ class GpioSensorLtr559Plugin(GpioSensorPlugin): ltr.update_sensor() return { - 'light': ltr559.get_lux(), - 'proximity': ltr559.get_proximity(), + 'light': ltr.get_lux(), + 'proximity': ltr.get_proximity(), }