From da5162b358a8c62b67e4284586fcdd9ff46d0ddb Mon Sep 17 00:00:00 2001 From: Stephen Yeargin Date: Tue, 16 Jun 2015 22:59:26 -0500 Subject: [PATCH] Pass around the light ID. --- platforms/PhilipsHue.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms/PhilipsHue.js b/platforms/PhilipsHue.js index 967facc..93bd27e 100644 --- a/platforms/PhilipsHue.js +++ b/platforms/PhilipsHue.js @@ -33,6 +33,7 @@ function PhilipsHuePlatform(log, config) { } function PhilipsHueAccessory(log, device, api) { + this.id = device.id; this.name = device.name; this.model = device.modelid; this.device = device;