Skip to content

Commit 38b1bd0

Browse files
authored
fix: Expose more actions for 511.344 (#8798)
1 parent 8486930 commit 38b1bd0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/devices/iluminize.ts

+10-4
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,16 @@ const definitions: DefinitionWithExtend[] = [
188188
m.deviceEndpoints({endpoints: {ep1: 1, ep2: 2, ep3: 3, ep4: 4}}),
189189
m.battery(),
190190
m.identify(),
191-
m.commandsOnOff(),
192-
m.commandsLevelCtrl(),
193-
m.commandsColorCtrl(),
194-
m.commandsScenes(),
191+
m.commandsOnOff({
192+
commands: ['on', 'off'],
193+
}),
194+
m.commandsLevelCtrl({
195+
commands: ['brightness_move_up', 'brightness_move_down', 'brightness_stop', 'brightness_step_up', 'brightness_step_down'],
196+
}),
197+
m.commandsColorCtrl({
198+
commands: ['color_temperature_move', 'color_move', 'hue_move', 'hue_stop'],
199+
}),
200+
m.commandsScenes({commands: ['recall']}),
195201
],
196202
meta: {multiEndpoint: true},
197203
},

0 commit comments

Comments
 (0)