homebridge-syntex-magichome
Advanced tools
Comparing version 1.2.4-b15 to 1.2.4-b16
{ | ||
"name": "homebridge-syntex-magichome", | ||
"version": "1.2.4-b15", | ||
"version": "1.2.4-b16", | ||
"description": "Homebridge Plugin for MagicHome LED Strips with preset scenes", | ||
@@ -15,3 +15,3 @@ "main": "index.js", | ||
"color-convert": "^1.5.0", | ||
"homebridge-syntex-dynamic-platform": "1.0.8-b27" | ||
"homebridge-syntex-dynamic-platform": "1.0.8-b28" | ||
}, | ||
@@ -18,0 +18,0 @@ "keywords": [ |
@@ -5,3 +5,3 @@ const { ColoredBulbService } = require('homebridge-syntex-dynamic-platform'); | ||
module.exports = class LightBulb extends ColoredBulbService | ||
module.exports = class SynTexColoredBulbService extends ColoredBulbService | ||
{ | ||
@@ -130,3 +130,3 @@ constructor(homebridgeAccessory, deviceConfig, serviceConfig, manager) | ||
{ | ||
this.DeviceManager.getDevice(this, (state) => { | ||
this.DeviceManager.getState(this, (state) => { | ||
@@ -174,3 +174,3 @@ if(state.value != null && !isNaN(state.value)) | ||
{ | ||
this.DeviceManager.getDevice(this, (state) => { | ||
this.DeviceManager.getState(this, (state) => { | ||
@@ -217,3 +217,3 @@ if(state.hue != null && !isNaN(state.hue)) | ||
{ | ||
this.DeviceManager.getDevice(this, (state) => { | ||
this.DeviceManager.getState(this, (state) => { | ||
@@ -260,3 +260,3 @@ if(state.saturation != null && !isNaN(state.saturation)) | ||
{ | ||
this.DeviceManager.getDevice(this, (state) => { | ||
this.DeviceManager.getState(this, (state) => { | ||
@@ -263,0 +263,0 @@ if(state.brightness != null && !isNaN(state.brightness)) |
@@ -5,3 +5,3 @@ const { SwitchService } = require('homebridge-syntex-dynamic-platform'); | ||
module.exports = class PresetSwitch extends SwitchService | ||
module.exports = class SynTexPresetSwitchService extends SwitchService | ||
{ | ||
@@ -8,0 +8,0 @@ constructor(homebridgeAccessory, deviceConfig, serviceConfig, manager) |
const { SwitchService } = require('homebridge-syntex-dynamic-platform'); | ||
module.exports = class SceneSwitch extends SwitchService | ||
module.exports = class SynTexSceneSwitchService extends SwitchService | ||
{ | ||
@@ -5,0 +5,0 @@ constructor(homebridgeAccessory, deviceConfig, serviceConfig, manager) |
@@ -12,3 +12,3 @@ const cp = require('child_process'), path = require('path'), convert = require('color-convert'); | ||
getDevice(service, callback) | ||
getState(service, callback) | ||
{ | ||
@@ -49,3 +49,3 @@ this.executeCommand(service.ip, '-i', (offline, output) => { | ||
getDevices(ips, callback) | ||
getStates(ips, callback) | ||
{ | ||
@@ -115,3 +115,3 @@ this.executeCommand(ips, '-i', (error, output) => { | ||
this.getDevices(ips.join(' '), (states) => { | ||
this.getStates(ips.join(' '), (states) => { | ||
@@ -118,0 +118,0 @@ for(const ip in states) |
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
121603
+ Addedhomebridge-syntex-dynamic-platform@1.0.8-b28(transitive)
+ Addedsyntex-basic@1.0.0-b11(transitive)
- Removedhomebridge-syntex-dynamic-platform@1.0.8-b27(transitive)
- Removedsyntex-basic@1.0.0-b10(transitive)