Socket
Socket
Sign inDemoInstall

iobroker.wifilight

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.wifilight - npm Package Compare versions

Comparing version 0.0.29 to 0.0.30

2

io-package.json
{
"common": {
"name": "wifilight",
"version": "0.0.29",
"version": "0.0.30",
"title": "WiFi Light",

@@ -6,0 +6,0 @@ "desc": {

{
"name": "iobroker.wifilight",
"version": "0.0.29",
"version": "0.0.30",
"description": "WiFi Light Adapter",

@@ -5,0 +5,0 @@ "author": {

@@ -331,9 +331,14 @@ "use strict";

var cmd = cmds[i];
if (cmd.x === undefined) cmd.x = 0;
var delay = Math.abs(cmd.x);
if (cmd.r !== undefined) {
self.fade(channel, cmd, delay);
self.states.red = cmd.r; self.states.green = cmd.g; self.states.blue = cmd.b;
setTimeout(function() {
self.states.red = cmd.r;
self.states.green = cmd.g;
self.states.blue = cmd.b;
}, 10);
}
if (cmd.x < 0) return;
self.prgTimer.set(doIt, 10 + delay * 100);
self.prgTimer.set(doIt, 10 + delay * 10);
}

@@ -896,4 +901,2 @@ if (cmds.length > 0) {

function main() {

@@ -923,1 +926,2 @@

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