Update PhilipsHue.js

fix issue
This commit is contained in:
bwilliot
2015-10-31 11:30:01 +01:00
parent 7362b48df7
commit ec015e58a3

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));