Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

syntex-automation

Package Overview
Dependencies
Maintainers
0
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syntex-automation - npm Package Compare versions

Comparing version 1.2.1-b26 to 1.2.1-b27

2

package.json
{
"name": "syntex-automation",
"version": "1.2.1-b26",
"version": "1.2.1-b27",
"description": "An automation system for your smart home",

@@ -5,0 +5,0 @@ "main": "main.js",

@@ -46,6 +46,3 @@ module.exports = class Automation

if(!this._isLocked(automation))
{
this.checkTrigger(automation, { name : ('0' + new Date().getHours()).slice(-2) + ':' + ('0' + new Date().getMinutes()).slice(-2) });
}
this.checkTrigger(automation, { name : ('0' + new Date().getHours()).slice(-2) + ':' + ('0' + new Date().getMinutes()).slice(-2) });
}

@@ -179,6 +176,3 @@ }

if(!this._isLocked(automation, service))
{
this.checkTrigger(automation, service, state);
}
this.checkTrigger(automation, service, state);
}

@@ -288,10 +282,13 @@ }

{
if(automation.options == null
|| automation.options.timeLock == null
|| this.timeLock[automation.id] == null
|| new Date().getTime() >= this.timeLock[automation.id])
if(!this._isLocked(automation))
{
this.logger.debug('Automation [' + automation.name + '] %trigger_activated%');
if(automation.options == null
|| automation.options.timeLock == null
|| this.timeLock[automation.id] == null
|| new Date().getTime() >= this.timeLock[automation.id])
{
this.logger.debug('Automation [' + automation.name + '] %trigger_activated%');
this.executeResult(automation, service);
this.executeResult(automation, service);
}
}

@@ -298,0 +295,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc