Skip to content

Commit

Permalink
Enable missing attribute and events of Switch cluster in lightning app (
Browse files Browse the repository at this point in the history
#28227)

* Enable missing attribute and events of Switch cluster in lightinhg app

* Address review comments

* Remove all *Press events
  • Loading branch information
yufengwangca authored and pull[bot] committed Jan 29, 2024
1 parent c377273 commit 3fa6891
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2354,6 +2354,7 @@ endpoint 0 {
}

server cluster Switch {
emits event SwitchLatched;
ram attribute numberOfPositions default = 2;
ram attribute currentPosition;
ram attribute featureMap default = 0;
Expand Down
9 changes: 9 additions & 0 deletions examples/lighting-app/lighting-common/lighting-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4009,6 +4009,15 @@
"maxInterval": 65534,
"reportableChange": 0
}
],
"events": [
{
"name": "SwitchLatched",
"code": 0,
"mfgCode": null,
"side": "server",
"included": 1
}
]
},
{
Expand Down

0 comments on commit 3fa6891

Please sign in to comment.