Fix brightness

This commit is contained in:
Evan Coleman
2015-04-22 22:28:59 -04:00
parent b68051d3b0
commit 410f3bb588

View File

@@ -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"],