Skip to content
Snippets Groups Projects
Commit 835e37b0 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Temp

parent 940f2b37
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,7 @@ class Switch(AqaraDev):
def on_report(self, data):
status = data.get('status', None)
print(status)
if status:
self.devices[0].send_notification(status)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment