mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
fix brightness
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user