Skip to content

Commit

Permalink
Remove MultiPressMax since we don't support MSM
Browse files Browse the repository at this point in the history
We just support LatchingSwitch(LS) bit but not MomentarySwitchMultiPress
(MSM) bit. So the MultiPressMax event shouldn't be enabled.
  • Loading branch information
erwinpan1 committed Oct 3, 2023
1 parent 24c0159 commit b69d5c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,6 @@ server cluster Switch = 59 {

readonly attribute int8u numberOfPositions = 0;
readonly attribute int8u currentPosition = 1;
readonly attribute int8u multiPressMax = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand Down Expand Up @@ -1023,7 +1022,6 @@ endpoint 1 {
emits event SwitchLatched;
persist attribute numberOfPositions default = 2;
persist attribute currentPosition default = 0;
persist attribute multiPressMax default = 2;
callback attribute generatedCommandList;
callback attribute acceptedCommandList;
callback attribute eventList;
Expand Down
12 changes: 6 additions & 6 deletions examples/chef/devices/rootnode_genericswitch_9866e35d0b.zap
Original file line number Diff line number Diff line change
Expand Up @@ -5520,7 +5520,7 @@
"singleton": 0,
"bounded": 0,
"defaultValue": "0x0",
"reportable": 0,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
Expand All @@ -5536,7 +5536,7 @@
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
"reportable": 0,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
Expand Down Expand Up @@ -5716,7 +5716,7 @@
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
Expand All @@ -5732,7 +5732,7 @@
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
Expand All @@ -5748,7 +5748,7 @@
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
Expand Down Expand Up @@ -5955,7 +5955,7 @@
"mfgCode": null,
"side": "server",
"type": "int8u",
"included": 1,
"included": 0,
"storageOption": "NVM",
"singleton": 0,
"bounded": 0,
Expand Down

0 comments on commit b69d5c0

Please sign in to comment.