syntex-automation
Advanced tools
Comparing version 1.2.0-b27 to 1.2.0-b28
{ | ||
"name": "syntex-automation", | ||
"version": "1.2.0-b27", | ||
"version": "1.2.0-b28", | ||
"description": "An automation system for your smart home", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -371,5 +371,5 @@ const axios = require('axios'); | ||
{ | ||
if(block.time != null) | ||
if(block.delay != null) | ||
{ | ||
await new Promise((resolve) => setTimeout(() => resolve(), block.time)); | ||
await new Promise((resolve) => setTimeout(() => resolve(), block.delay)); | ||
} | ||
@@ -727,3 +727,3 @@ | ||
{ | ||
if(block.time != null || block.days != null) | ||
if(block.days != null || block.time != null) | ||
{ | ||
@@ -747,3 +747,3 @@ return true; | ||
{ | ||
if((block.id == service.id && block.letters == service.letters) || block.time != null || block.days != null) | ||
if((block.id == service.id && block.letters == service.letters) || block.days != null || block.time != null) | ||
{ | ||
@@ -750,0 +750,0 @@ if(!this._getOutput(block, state)) |
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
24595