We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f184208 commit 981dd9bCopy full SHA for 981dd9b
src/zigbee/switch_cluster.c
@@ -321,7 +321,7 @@ void switch_cluster_on_button_release(zigbee_switch_cluster *cluster)
321
return;
322
}
323
324
- if (cluster->multistate_state != MULTISTATE_PRESS) {
+ if (cluster->multistate_state != MULTISTATE_LONG_PRESS) {
325
if (cluster->relay_mode == ZCL_ONOFF_CONFIGURATION_RELAY_MODE_SHORT) {
326
switch_cluster_relay_action_on(cluster);
327
0 commit comments