From 70f2dc6230da7e5e16c199fd8352dad537882164 Mon Sep 17 00:00:00 2001 From: bwilliot Date: Sat, 31 Oct 2015 11:30:01 +0100 Subject: [PATCH] Update PhilipsHue.js fix issue --- platforms/PhilipsHue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/PhilipsHue.js b/platforms/PhilipsHue.js index 9d3394c..81f36b8 100644 --- a/platforms/PhilipsHue.js +++ b/platforms/PhilipsHue.js @@ -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));