fix brightness

This commit is contained in:
Evan Coleman
2015-04-20 23:05:47 -04:00
parent b6d763d3a3
commit b68051d3b0

View File

@@ -130,7 +130,7 @@ X10.prototype = {
}]
}];
if (that.canDim) {
services.characteristics.push({
services[0].characteristics.push({
cType: types.BRIGHTNESS_CTYPE,
onUpdate: function(value) { that.setBrightnessLevel(value); },
perms: ["pw","pr","ev"],