mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-17 05:50:03 +01:00
init BosMon plugin
This commit is contained in:
parent
f6b8f47d2d
commit
a4acc2063a
10
plugin_test/plugins/BosMon/__init__.py
Normal file
10
plugin_test/plugins/BosMon/__init__.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import logging
|
||||
|
||||
def run(typ,frequenz,daten):
|
||||
logging.debug("Throw Template Plugin")
|
||||
try:
|
||||
logging.info("ZVEI: %s wurde empfangen!", daten[0])
|
||||
logging.debug("try 5/0")
|
||||
test = 5/0
|
||||
except:
|
||||
logging.exception("Error in Template Plugin")
|
||||
Loading…
Reference in a new issue