Commit 2d9dff7d authored by Fabio Manganiello's avatar Fabio Manganiello
Browse files

Fixed LTR559 integration after a change in the core library interface

parent f74ca283
Pipeline #117 passed with stages
in 6 minutes and 57 seconds
......@@ -31,7 +31,8 @@ class GpioSensorLtr559Plugin(GpioSensorPlugin):
"""
import ltr559
ltr559.set_proximity_active()
ltr = ltr559.LTR559()
ltr.update_sensor()
return {
'light': ltr559.get_lux(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment