File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -222,12 +222,13 @@ void ZigbeeWindowCovering::zbWindowCoveringMovementCmd(const esp_zb_zcl_window_c
222222 if (_current_lift_percentage != message->payload .percentage_lift_value ) {
223223 _current_lift_percentage = message->payload .percentage_lift_value ;
224224 goToLiftPercentage (_current_lift_percentage);
225+ return ;
225226 }
226- return ;
227227 } else if (message->command == ESP_ZB_ZCL_CMD_WINDOW_COVERING_GO_TO_TILT_PERCENTAGE) {
228228 if (_current_tilt_percentage != message->payload .percentage_tilt_value ) {
229229 _current_tilt_percentage = message->payload .percentage_tilt_value ;
230230 goToTiltPercentage (_current_tilt_percentage);
231+ return ;
231232 }
232233 } else {
233234 log_w (" Received message ignored. Command: %d not supported for Window Covering" , message->command );
You can’t perform that action at this time.
0 commit comments