homebridge-syntex-magichome
Advanced tools
Comparing version 1.0.0-b45 to 1.0.0-b46
{ | ||
"name": "homebridge-syntex-magichome", | ||
"version": "1.0.0-b45", | ||
"version": "1.0.0-b46", | ||
"description": "Homebridge Plugin for MagicHome LED Strips with preset scenes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -55,3 +55,3 @@ const LightBulb = require('./accessories/lightBulb'); | ||
if(params.mac) | ||
if(params.ip) | ||
{ | ||
@@ -71,2 +71,12 @@ for(var i = 0; i < this.lights.length; i++) | ||
} | ||
if(params.saturation) | ||
{ | ||
this.lights[i].setSaturation(params.saturation, () => {}); | ||
} | ||
if(params.brightness) | ||
{ | ||
this.lights[i].setBrightness(params.brightness, () => {}); | ||
} | ||
} | ||
@@ -73,0 +83,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
107572
1064