Skip to content
Snippets Groups Projects
Commit 5b099087 authored by jkerdreu's avatar jkerdreu
Browse files

oups, still some print..

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2219 b32b6428-25c9-4566-ad07-03861ab6144f
parent 6bb862dc
No related branches found
No related tags found
No related merge requests found
......@@ -270,7 +270,7 @@ class Gateway(AqaraDev):
def lamp_set(self,value):
data = {"rgb" : value}
print(self.write(data))
self.write(data)
def lamp_on(self):
color = self.rgb or self.get_rgb(255,170,170)
......@@ -315,11 +315,11 @@ class Gateway(AqaraDev):
"mid" : int(_sound),
"volume": int(_volume),
}
print(self.write(data))
self.write(data)
def siren_stop(self):
data = { "mid" : 999 }
print(self.write(data))
self.write(data)
#========================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment