add msg mode to plugin

This commit is contained in:
Bastian Schroll 2018-02-22 08:28:02 +01:00
parent b1cc765607
commit 48ecdd666c
2 changed files with 15 additions and 1 deletions

View file

@ -51,7 +51,11 @@ class BoswatchPlugin(Plugin):
"""!Called on ZVEI alarm
@param bwPacket: bwPacket instance"""
pass
def msg(self, bwPacket):
"""!Called on MSG packet
@param bwPacket: bwPacket instance"""
def teardown(self):
"""!Called after alarm"""