Skip to content

Commit

Permalink
Merge branch 'pr_819' into 'main'
Browse files Browse the repository at this point in the history
[GH_PR] Fix: mode-select feature on-off id (CON-998)

See merge request app-frameworks/esp-matter!624
  • Loading branch information
dhrishi committed Feb 9, 2024
2 parents 95aef3d + c340907 commit fe4f9f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/esp_matter/esp_matter_feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3060,9 +3060,7 @@ namespace on_off {

uint32_t get_id()
{
// enum class for DepOnOff is not present in the upstream code.
// Return the code according to the SPEC
return 0x00;
return (uint32_t)ModeSelect::Feature::kOnOff;
}

esp_err_t add(cluster_t *cluster, config_t *config)
Expand Down

0 comments on commit fe4f9f6

Please sign in to comment.