Skip to content

Commit d18bfcd

Browse files
committed
Readded a valve cluster attributed which was annoyingly removed by zap issues.
1 parent 3603fa6 commit d18bfcd

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

examples/all-clusters-app/all-clusters-common/all-clusters-app.zap

+16
Original file line numberDiff line numberDiff line change
@@ -12560,6 +12560,22 @@
1256012560
"maxInterval": 65534,
1256112561
"reportableChange": 0
1256212562
},
12563+
{
12564+
"name": "LevelStep",
12565+
"code": 10,
12566+
"mfgCode": null,
12567+
"side": "server",
12568+
"type": "int8u",
12569+
"included": 1,
12570+
"storageOption": "RAM",
12571+
"singleton": 0,
12572+
"bounded": 0,
12573+
"defaultValue": "1",
12574+
"reportable": 1,
12575+
"minInterval": 1,
12576+
"maxInterval": 65534,
12577+
"reportableChange": 0
12578+
},
1256312579
{
1256412580
"name": "GeneratedCommandList",
1256512581
"code": 65528,

examples/all-clusters-app/all-clusters-common/src/rvc-modes.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void emberAfRvcRunModeClusterInitCallback(chip::EndpointId endpointId)
112112
VerifyOrDie(endpointId == 1); // this cluster is only enabled for endpoint 1.
113113
VerifyOrDie(gRvcRunModeDelegate == nullptr && gRvcRunModeInstance == nullptr);
114114
gRvcRunModeDelegate = new RvcRunMode::RvcRunModeDelegate;
115-
gRvcRunModeInstance = new ModeBase::Instance(gRvcRunModeDelegate, 0x1, RvcRunMode::Id, RvcRunMode::Feature::kNoFeatures);
115+
gRvcRunModeInstance = new ModeBase::Instance(gRvcRunModeDelegate, 0x1, RvcRunMode::Id, to_underlying(RvcRunMode::Feature::kNoFeatures));
116116
gRvcRunModeInstance->Init();
117117
}
118118

@@ -201,6 +201,6 @@ void emberAfRvcCleanModeClusterInitCallback(chip::EndpointId endpointId)
201201
VerifyOrDie(endpointId == 1); // this cluster is only enabled for endpoint 1.
202202
VerifyOrDie(gRvcCleanModeDelegate == nullptr && gRvcCleanModeInstance == nullptr);
203203
gRvcCleanModeDelegate = new RvcCleanMode::RvcCleanModeDelegate;
204-
gRvcCleanModeInstance = new ModeBase::Instance(gRvcCleanModeDelegate, 0x1, RvcCleanMode::Id, RvcRunMode::Feature::kNoFeatures);
204+
gRvcCleanModeInstance = new ModeBase::Instance(gRvcCleanModeDelegate, 0x1, RvcCleanMode::Id, to_underlying(RvcRunMode::Feature::kNoFeatures));
205205
gRvcCleanModeInstance->Init();
206206
}

0 commit comments

Comments
 (0)