homebridge-syntex-dynamic-platform
Advanced tools
Comparing version 1.0.8-b56 to 1.0.8-b57
{ | ||
"name": "homebridge-syntex-dynamic-platform", | ||
"version": "1.0.8-b56", | ||
"version": "1.0.8-b57", | ||
"description": "A Dynamic Platform Accessory", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -75,3 +75,3 @@ const DimmedBulbService = require('./dimmedBulb'); | ||
{ | ||
this.hue = hue; | ||
this.hue = this.tempState.hue = hue; | ||
@@ -98,3 +98,3 @@ this.setValue('hue', hue, verbose); | ||
{ | ||
this.saturation = saturation; | ||
this.saturation = this.tempState.saturation = saturation; | ||
@@ -101,0 +101,0 @@ this.setValue('saturation', saturation, verbose); |
@@ -52,2 +52,9 @@ const LightBulbService = require('./lightBulb'); | ||
setState(value, callback, verbose) | ||
{ | ||
this.tempState.value = value; | ||
super.setState(value, callback, verbose); | ||
} | ||
getBrightness(callback, verbose = false) | ||
@@ -65,3 +72,3 @@ { | ||
{ | ||
this.brightness = brightness; | ||
this.brightness = this.tempState.brightness = brightness; | ||
@@ -68,0 +75,0 @@ this.setValue('brightness', brightness, verbose); |
@@ -95,2 +95,9 @@ const BaseService = require('../base'); | ||
setState(value, callback, verbose) | ||
{ | ||
this.tempState.value = value; | ||
super.setState(value, callback, verbose); | ||
} | ||
getTargetTemperature(callback, verbose = false) | ||
@@ -108,3 +115,3 @@ { | ||
{ | ||
this.target = target; | ||
this.target = this.tempState.target = target; | ||
@@ -131,3 +138,3 @@ this.setValue('target', target, verbose); | ||
{ | ||
this.state = state; | ||
this.state = this.tempState.state = state; | ||
@@ -154,3 +161,3 @@ this.setValue('state', state, verbose); | ||
{ | ||
this.mode = mode; | ||
this.mode = this.tempState.mode = mode; | ||
@@ -157,0 +164,0 @@ this.setValue('mode', mode, verbose); |
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
82170
2367