Skip to content
Snippets Groups Projects
Commit 12d8bc3e authored by jkerdreu's avatar jkerdreu
Browse files

Fix AQ2 light sensor



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2597 b32b6428-25c9-4566-ad07-03861ab6144f
parent 4b93ce83
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ class MotionAQ2(Motion):
def on_report(self,data):
Motion.on_report(self,data)
val = data.get('illumination',None)
val = data.get('lux',None)
if val:
self.devices[1].attributes['illuminance'] = int(val)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment