Skip to content

Commit

Permalink
Fix thermostat feature map conformance for all-clusters app:
Browse files Browse the repository at this point in the history
1) Disable SCH bit, since we don't actually implement that in all-clusters-app.
2) Disable the attributes that were enabled for SCH.
3) Enable the mandatory SetPointRaiseLower command.

Fixes project-chip#19462
  • Loading branch information
bzbarsky-apple committed Jun 10, 2022
1 parent ac8bdbf commit ac9d6ec
Show file tree
Hide file tree
Showing 4 changed files with 371 additions and 329 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3431,11 +3431,15 @@ server cluster Thermostat = 513 {
attribute access(write: manage) ThermostatControlSequence controlSequenceOfOperation = 27;
attribute access(write: manage) enum8 systemMode = 28;
readonly attribute enum8 thermostatRunningMode = 30;
readonly attribute enum8 startOfWeek = 32;
readonly attribute int8u numberOfWeeklyTransitions = 33;
readonly attribute int8u numberOfDailyTransitions = 34;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct SetpointRaiseLowerRequest {
SetpointAdjustMode mode = 0;
INT8S amount = 1;
}

command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0;
}

server cluster ThermostatUserInterfaceConfiguration = 516 {
Expand Down Expand Up @@ -4445,10 +4449,7 @@ endpoint 1 {
ram attribute controlSequenceOfOperation default = 0x04;
ram attribute systemMode default = 0x01;
ram attribute thermostatRunningMode;
ram attribute startOfWeek;
ram attribute numberOfWeeklyTransitions default = 7;
ram attribute numberOfDailyTransitions default = 4;
ram attribute featureMap default = 0x002b;
ram attribute featureMap default = 0x0023;
ram attribute clusterRevision default = 5;
}

Expand Down
Loading

0 comments on commit ac9d6ec

Please sign in to comment.