diff --git a/platypush/backend/http/static/css/gpio.zeroborg.css b/platypush/backend/http/static/css/gpio.zeroborg.css index 4aaeb43ea..cdafb1174 100644 --- a/platypush/backend/http/static/css/gpio.zeroborg.css +++ b/platypush/backend/http/static/css/gpio.zeroborg.css @@ -1,3 +1,7 @@ +#zb-container { + outline: none !important; +} + .zb-controls-container { margin: auto; width: 25%; diff --git a/platypush/plugins/gpio/zeroborg/__init__.py b/platypush/plugins/gpio/zeroborg/__init__.py index 8b9c50aff..3c2d0f379 100644 --- a/platypush/plugins/gpio/zeroborg/__init__.py +++ b/platypush/plugins/gpio/zeroborg/__init__.py @@ -68,6 +68,9 @@ class GpioZeroborgPlugin(Plugin): elif 'below_threshold_direction' in sensor: direction = sensor['below_threshold_direction'] + logging.info('Sensor: {}\tMeasurement: {}\tDirection: {}' + .format(sensor['plugin'], value, direction)) + return direction