Update PhilipsHue.js

fix issue
This commit is contained in:
bwilliot
2015-10-31 11:30:01 +01:00
committed by Stefan Kuper
parent 1dfa190b18
commit 70f2dc6230

View File

@@ -239,7 +239,7 @@ PhilipsHueAccessory.prototype = {
if (err.code == "ECONNRESET") {
setTimeout(function() {
this.executeChange(characteristic, value, callback);
}, 300);
}.bind(this), 300);
} else {
this.log(err);
callback(new Error(err));