Skip to content

Commit

Permalink
Fix MaxMeasuredValue for all-clusters-app Flow Measurement cluster. (#…
Browse files Browse the repository at this point in the history
…29355)

Per spec, MaxMeasuredValue > MinMeasuredValue, but we were ending up with 0 for both.

Fixes #27543
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Oct 17, 2023
1 parent dc9fe78 commit 9460165
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7204,9 +7204,9 @@ endpoint 1 {
}

server cluster FlowMeasurement {
ram attribute measuredValue;
ram attribute minMeasuredValue;
ram attribute maxMeasuredValue;
ram attribute measuredValue default = 5;
ram attribute minMeasuredValue default = 0;
ram attribute maxMeasuredValue default = 100;
ram attribute tolerance default = 0;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23526,7 +23526,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"defaultValue": "5",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand All @@ -23542,7 +23542,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"defaultValue": "0",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand All @@ -23558,7 +23558,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"defaultValue": "100",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -35392,5 +35392,6 @@
"endpointId": 65534,
"networkId": 0
}
]
],
"log": []
}

0 comments on commit 9460165

Please sign in to comment.