mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
esp-matter/features: Add features as config in the cluster structure.
This commit is contained in:
@@ -796,6 +796,7 @@ Additional clusters can also be added to an endpoint. Examples:
|
||||
::
|
||||
|
||||
on_off::config_t on_off_config;
|
||||
on_off_config.feature_flags = on_off::feature::lighting::get_id();
|
||||
cluster_t *cluster = on_off::create(endpoint, &on_off_config, CLUSTER_FLAG_SERVER, on_off::feature::lighting::get_id());
|
||||
|
||||
- temperature_measurement:
|
||||
|
||||
Reference in New Issue
Block a user