syntex-automation
Advanced tools
Comparing version 1.2.0-b15 to 1.2.0-b16
{ | ||
"name": "syntex-automation", | ||
"version": "1.2.0-b15", | ||
"version": "1.2.0-b16", | ||
"description": "An automation system for your smart home", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -148,4 +148,14 @@ const axios = require('axios'); | ||
{ | ||
if(this.stateLock[params.id] == null) | ||
{ | ||
this.stateLock[params.id] = {}; | ||
} | ||
if(params.blockID != null) | ||
{ | ||
if(this.stateLock[params.id].trigger == null) | ||
{ | ||
this.stateLock[params.id].trigger = {}; | ||
} | ||
this.stateLock[params.id].trigger[params.blockID] = params.lock; | ||
@@ -175,3 +185,4 @@ } | ||
} | ||
}); | ||
}, true); | ||
@@ -178,0 +189,0 @@ if(socket != null) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28555
745