git.graph-it.com
/
graphit
/
controlpi-wsclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c181f05
)
Allow unregistered event.
author
Benjamin Braatz
<bb@bbraatz.eu>
Tue, 10 Aug 2021 19:06:42 +0000
(21:06 +0200)
committer
Benjamin Braatz
<bb@bbraatz.eu>
Tue, 10 Aug 2021 19:06:42 +0000
(21:06 +0200)
controlpi_plugins/wsclient.py
patch
|
blob
|
history
diff --git
a/controlpi_plugins/wsclient.py
b/controlpi_plugins/wsclient.py
index b56f1c02010a2399b14125bceade1f798c3b50fd..73e9f23ff5ff5cee471cf3c5a0f454c252d94526 100644
(file)
--- a/
controlpi_plugins/wsclient.py
+++ b/
controlpi_plugins/wsclient.py
@@
-139,6
+139,8
@@
class WSClient(BasePlugin):
sends = []
sends.append(MessageTemplate({'event':
{'const': 'registered'}}))
+ sends.append(MessageTemplate({'event':
+ {'const': 'unregistered'}}))
sends.append(MessageTemplate({'event':
{'const': 'connection opened'}}))
sends.append(MessageTemplate({'event':