@@ -213,8 +213,6 @@ endpoint_t *create(node_t *node, config_t *config, uint8_t flags, void *priv_dat
213213 descriptor::create (endpoint, CLUSTER_FLAG_SERVER);
214214 identify::create (endpoint, &(config->identify ), CLUSTER_FLAG_SERVER | CLUSTER_FLAG_CLIENT);
215215 binding::create (endpoint, &(config->binding ), CLUSTER_FLAG_SERVER);
216- groups::create (endpoint, NULL , CLUSTER_FLAG_CLIENT);
217- scenes::create (endpoint, NULL , CLUSTER_FLAG_CLIENT);
218216 on_off::create (endpoint, NULL , CLUSTER_FLAG_CLIENT, ESP_MATTER_NONE_FEATURE_ID);
219217
220218 return endpoint;
@@ -239,8 +237,6 @@ endpoint_t *create(node_t *node, config_t *config, uint8_t flags, void *priv_dat
239237 descriptor::create (endpoint, CLUSTER_FLAG_SERVER);
240238 identify::create (endpoint, &(config->identify ), CLUSTER_FLAG_SERVER | CLUSTER_FLAG_CLIENT);
241239 binding::create (endpoint, &(config->binding ), CLUSTER_FLAG_SERVER);
242- groups::create (endpoint, NULL , CLUSTER_FLAG_CLIENT);
243- scenes::create (endpoint, NULL , CLUSTER_FLAG_CLIENT);
244240 on_off::create (endpoint, NULL , CLUSTER_FLAG_CLIENT, ESP_MATTER_NONE_FEATURE_ID);
245241 level_control::create (endpoint, NULL , CLUSTER_FLAG_CLIENT, ESP_MATTER_NONE_FEATURE_ID);
246242
@@ -266,8 +262,6 @@ endpoint_t *create(node_t *node, config_t *config, uint8_t flags, void *priv_dat
266262 descriptor::create (endpoint, CLUSTER_FLAG_SERVER);
267263 identify::create (endpoint, &(config->identify ), CLUSTER_FLAG_SERVER | CLUSTER_FLAG_CLIENT);
268264 binding::create (endpoint, &(config->binding ), CLUSTER_FLAG_SERVER);
269- groups::create (endpoint, NULL , CLUSTER_FLAG_CLIENT);
270- scenes::create (endpoint, NULL , CLUSTER_FLAG_CLIENT);
271265 on_off::create (endpoint, NULL , CLUSTER_FLAG_CLIENT, ESP_MATTER_NONE_FEATURE_ID);
272266 level_control::create (endpoint, NULL , CLUSTER_FLAG_CLIENT, ESP_MATTER_NONE_FEATURE_ID);
273267 color_control::create (endpoint, NULL , CLUSTER_FLAG_CLIENT, ESP_MATTER_NONE_FEATURE_ID);
@@ -296,8 +290,6 @@ endpoint_t *create(node_t *node, config_t *config, uint8_t flags, void *priv_dat
296290 groups::create (endpoint, &(config->groups ), CLUSTER_FLAG_SERVER);
297291 scenes::create (endpoint, &(config->scenes ), CLUSTER_FLAG_SERVER);
298292 on_off::create (endpoint, &(config->on_off ), CLUSTER_FLAG_SERVER, on_off::feature::lighting::get_id ());
299- level_control::create (endpoint, &(config->level_control ), CLUSTER_FLAG_SERVER,
300- level_control::feature::on_off::get_id () | level_control::feature::lighting::get_id ());
301293
302294 return endpoint;
303295}
@@ -372,8 +364,8 @@ endpoint_t *create(node_t *node, config_t *config, uint8_t flags, void *priv_dat
372364 descriptor::create (endpoint, CLUSTER_FLAG_SERVER);
373365 identify::create (endpoint, &(config->identify ), CLUSTER_FLAG_SERVER);
374366 groups::create (endpoint, &(config->groups ), CLUSTER_FLAG_SERVER);
375- scenes::create (endpoint, &(config->scenes ), CLUSTER_FLAG_SERVER);
376367 cluster::thermostat::create (endpoint, &(config->thermostat ), CLUSTER_FLAG_SERVER);
368+ time_synchronization::create (endpoint, &(config->time_synchronization ), CLUSTER_FLAG_SERVER | CLUSTER_FLAG_CLIENT);
377369
378370 return endpoint;
379371}
0 commit comments