We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 780388a commit 661718cCopy full SHA for 661718c
components/esp_matter/data_model/esp_matter_data_model.cpp
@@ -358,9 +358,6 @@ static esp_err_t disable(endpoint_t *endpoint)
358
current_endpoint->identify = NULL;
359
}
360
361
- // resize the group data provider to match the new endpoint count
362
- resize_group_data_provider();
363
-
364
return ESP_OK;
365
366
@@ -570,6 +567,10 @@ esp_err_t enable(endpoint_t *endpoint)
570
567
lock::chip_stack_unlock();
571
568
572
569
ESP_LOGI(TAG, "Dynamic endpoint %" PRIu16 " added", current_endpoint->endpoint_id);
+
+ // resize the group data provider to match the new endpoint count
+ resize_group_data_provider();
573
574
return err;
575
576
cleanup:
0 commit comments