Skip to content

Commit f417ef5

Browse files
rohankapoorcomKoenkk
authored andcommitted
fix: Fix dimmingMode parameter for Inovelli devices (Koenkk#8829)
1 parent 95ff1dd commit f417ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/devices/inovelli.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const inovelliExtend = {
9999
quickStartTime: {ID: 0x0017, type: Zcl.DataType.UINT8},
100100
quickStartLevel: {ID: 0x0018, type: Zcl.DataType.UINT8},
101101
higherOutputInNonNeutral: {ID: 0x0019, type: Zcl.DataType.BOOLEAN},
102-
dimmingMode: {ID: 0x001a, type: Zcl.DataType.BOOLEAN},
102+
dimmingMode: {ID: 0x001a, type: Zcl.DataType.UINT8},
103103
nonNeutralAuxMediumGear: {ID: 0x001e, type: Zcl.DataType.UINT8},
104104
nonNeutralAuxLowGear: {ID: 0x001f, type: Zcl.DataType.UINT8},
105105
internalTemperature: {ID: 0x0020, type: Zcl.DataType.UINT8},
@@ -1017,7 +1017,7 @@ const COMMON_DIMMABLE_LIGHT_ATTRIBUTES: {[s: string]: Attribute} = {
10171017
},
10181018
dimmingMode: {
10191019
ID: 26,
1020-
dataType: Zcl.DataType.BOOLEAN,
1020+
dataType: Zcl.DataType.UINT8,
10211021
displayType: 'enum',
10221022
values: {'Leading edge': 0, 'Trailing edge': 1},
10231023
min: 0,

0 commit comments

Comments
 (0)