mirror of
https://github.com/mtan93/homebridge.git
synced 2026-04-17 06:13:11 +01:00
Fix brightness
This commit is contained in:
@@ -130,7 +130,7 @@ X10.prototype = {
|
|||||||
}]
|
}]
|
||||||
}];
|
}];
|
||||||
if (that.canDim) {
|
if (that.canDim) {
|
||||||
services[0].characteristics.push({
|
services[1].characteristics.push({
|
||||||
cType: types.BRIGHTNESS_CTYPE,
|
cType: types.BRIGHTNESS_CTYPE,
|
||||||
onUpdate: function(value) { that.setBrightnessLevel(value); },
|
onUpdate: function(value) { that.setBrightnessLevel(value); },
|
||||||
perms: ["pw","pr","ev"],
|
perms: ["pw","pr","ev"],
|
||||||
|
|||||||
Reference in New Issue
Block a user