mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-20 07:10:16 +01:00
Fixing another indentation error
Fixing various errors and adding changelog
This commit is contained in:
parent
28e9a91173
commit
d75800e8d3
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
### __[v2.5.2]__ - 01.08.2020
|
||||
##### Fixed
|
||||
- GPIOcontrol plugin: Fixing indentation errors. [#465](https://github.com/Schrolli91/BOSWatch/pull/465)
|
||||
|
||||
### __[v2.5.1]__ - 28.04.2020
|
||||
##### Added
|
||||
- Plugin requirements: Added requirements.txt for all plugins requiring extra python packages so the install will be easier [#446](https://github.com/Schrolli91/BOSWatch/pull/446)
|
||||
|
|
|
|||
|
|
@ -92,14 +92,14 @@ def run(typ,freq,data):
|
|||
#logging.warning("%s not supported", typ)
|
||||
elif typ == "POC":
|
||||
if globalVars.config.get("gpiocontrol", "activerics") == "":
|
||||
th = threading.Thread(target = trigger)
|
||||
th.start()
|
||||
else:
|
||||
if data["ric"] in globalVars.config.get("gpiocontrol", "activerics"):
|
||||
th = threading.Thread(target = trigger)
|
||||
th.start()
|
||||
else:
|
||||
logging.info("Ric not in activerics")
|
||||
th = threading.Thread(target = trigger)
|
||||
th.start()
|
||||
else:
|
||||
if data["ric"] in globalVars.config.get("gpiocontrol", "activerics"):
|
||||
th = threading.Thread(target = trigger)
|
||||
th.start()
|
||||
else:
|
||||
logging.info("Ric not in activerics")
|
||||
else:
|
||||
logging.warning("Invalid Typ: %s", typ)
|
||||
########## User Plugin CODE ##########
|
||||
|
|
|
|||
Loading…
Reference in a new issue