mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
[examples/light] Add the missing xy feature of the color control cluster
Fixes: https://github.com/espressif/esp-matter/issues/1434.
This commit is contained in:
@@ -201,7 +201,7 @@ extern "C" void app_main()
|
||||
|
||||
light_config.on_off.feature_flags = cluster::on_off::feature::lighting::get_id();
|
||||
light_config.level_control.feature_flags = cluster::level_control::feature::lighting::get_id();
|
||||
light_config.color_control.feature_flags = cluster::color_control::feature::color_temperature::get_id();
|
||||
light_config.color_control.feature_flags = cluster::color_control::feature::color_temperature::get_id() | cluster::color_control::feature::xy::get_id();
|
||||
|
||||
// endpoint handles can be used to add/modify clusters.
|
||||
endpoint_t *endpoint = extended_color_light::create(node, &light_config, ENDPOINT_FLAG_NONE, light_handle);
|
||||
|
||||
Reference in New Issue
Block a user