syntex-automation
Advanced tools
Comparing version 1.2.1-b25 to 1.2.1-b26
{ | ||
"name": "syntex-automation", | ||
"version": "1.2.1-b25", | ||
"version": "1.2.1-b26", | ||
"description": "An automation system for your smart home", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -79,9 +79,13 @@ module.exports = class Automation | ||
if(data != null) | ||
if(data != null && Array.isArray(data) && data.length > 0) | ||
{ | ||
this.automation = data; | ||
resolve(true); | ||
} | ||
else | ||
{ | ||
resolve(false); | ||
} | ||
resolve(data != null); | ||
}).catch(() => { | ||
@@ -897,3 +901,3 @@ | ||
block.state = comparison; | ||
resolve(checkCharacteristics({ block, state })); | ||
@@ -900,0 +904,0 @@ }); |
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
26533
790