@@ -163,7 +163,7 @@ class Inovelli_VZM31SN_Cluster(CustomCluster):
163
163
0x00 : foundation .ZCLCommandDef (
164
164
"button_event" ,
165
165
{"button_pressed" : t .uint8_t , "press_type" : t .uint8_t },
166
- direction = foundation .Direction .Server_to_Client ,
166
+ direction = foundation .Direction .Client_to_Server ,
167
167
is_manufacturer_specific = True ,
168
168
),
169
169
0x01 : foundation .ZCLCommandDef (
@@ -174,13 +174,13 @@ class Inovelli_VZM31SN_Cluster(CustomCluster):
174
174
"led_level" : t .uint8_t ,
175
175
"led_duration" : t .uint8_t ,
176
176
},
177
- direction = foundation .Direction .Server_to_Client ,
177
+ direction = foundation .Direction .Client_to_Server ,
178
178
is_manufacturer_specific = True ,
179
179
),
180
180
0x02 : foundation .ZCLCommandDef (
181
181
"reset_energy_meter" ,
182
182
{},
183
- direction = foundation .Direction .Server_to_Client ,
183
+ direction = foundation .Direction .Client_to_Server ,
184
184
is_manufacturer_specific = True ,
185
185
),
186
186
0x03 : foundation .ZCLCommandDef (
@@ -192,15 +192,15 @@ class Inovelli_VZM31SN_Cluster(CustomCluster):
192
192
"led_level" : t .uint8_t ,
193
193
"led_duration" : t .uint8_t ,
194
194
},
195
- direction = foundation .Direction .Server_to_Client ,
195
+ direction = foundation .Direction .Client_to_Server ,
196
196
is_manufacturer_specific = True ,
197
197
),
198
198
0x24 : foundation .ZCLCommandDef (
199
199
"led_effect_complete" ,
200
200
{
201
201
"notification_type" : t .uint8_t ,
202
202
},
203
- direction = foundation .Direction .Server_to_Client ,
203
+ direction = foundation .Direction .Client_to_Server ,
204
204
is_manufacturer_specific = True ,
205
205
),
206
206
}
0 commit comments