Skip to content
Snippets Groups Projects
Commit 795e2199 authored by jkerdreu's avatar jkerdreu
Browse files

Use send_notif ..

git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/trunk@2040 b32b6428-25c9-4566-ad07-03861ab6144f
parent c017a7ef
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,7 @@ class Switch(AqaraDev):
status = data.get('status',None)
if status:
# TBD device should be able to send notif themself
dev = self.devices[0]
dev.engine.send_notification(dev,status,{})
self.devices[0].send_notification(status)
class Gateway(AqaraDev):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment