Skip to content
Snippets Groups Projects
Commit 0672b850 authored by jkerdreu's avatar jkerdreu
Browse files

Added long_click filter for 86sw2

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2042 b32b6428-25c9-4566-ad07-03861ab6144f
parent ce25347a
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,8 @@ class Switch86(AqaraDev):
idx = 0
for k in chans:
r = data.get(k,None)
if r:
# in the current firmware this switch alsway return both click and long_click
if r and (r.startswith('long_')==False):
self.devices[idx].send_notification(r)
idx = idx + 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment