Skip to content
Snippets Groups Projects
Commit 5503af83 authored by jkerdreu's avatar jkerdreu
Browse files

buggy SVN

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2065 b32b6428-25c9-4566-ad07-03861ab6144f
parent 1e43d92e
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,10 @@ class Magnet(AqaraDev):
if status and status == 'close':
self.devices[0].attributes['position'] = False
class Vibration(AqaraDev):pass
class Cube(AqaraDev):pass
......
......@@ -25,6 +25,8 @@ def find_device_class(model):
return devices.Motion
if model in ['magnet','sensor_magnet.aq2']:
return devices.Magnet
if model == 'vibration':
return devices.Vibration
if model == 'sensor_cube.aqgl01':
return devices.Cube
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment