From 410f3bb588d1ebb5a5c9d81a4cf50e38c515b132 Mon Sep 17 00:00:00 2001 From: Evan Coleman Date: Wed, 22 Apr 2015 22:28:59 -0400 Subject: [PATCH] Fix brightness --- accessories/X10.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessories/X10.js b/accessories/X10.js index 6a04227..6764fc2 100644 --- a/accessories/X10.js +++ b/accessories/X10.js @@ -130,7 +130,7 @@ X10.prototype = { }] }]; if (that.canDim) { - services[0].characteristics.push({ + services[1].characteristics.push({ cType: types.BRIGHTNESS_CTYPE, onUpdate: function(value) { that.setBrightnessLevel(value); }, perms: ["pw","pr","ev"],