@@ -13,7 +13,7 @@ struct LabelStruct {
13
13
14
14
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
15
15
server cluster Identify = 3 {
16
- enum IdentifyEffectIdentifier : ENUM8 {
16
+ enum EffectIdentifierEnum : ENUM8 {
17
17
kBlink = 0;
18
18
kBreathe = 1;
19
19
kOkay = 2;
@@ -22,21 +22,21 @@ server cluster Identify = 3 {
22
22
kStopEffect = 255;
23
23
}
24
24
25
- enum IdentifyEffectVariant : ENUM8 {
25
+ enum EffectVariantEnum : ENUM8 {
26
26
kDefault = 0;
27
27
}
28
28
29
- enum IdentifyIdentifyType : ENUM8 {
29
+ enum IdentifyTypeEnum : ENUM8 {
30
30
kNone = 0;
31
- kVisibleLight = 1;
32
- kVisibleLED = 2;
31
+ kLightOutput = 1;
32
+ kVisibleIndicator = 2;
33
33
kAudibleBeep = 3;
34
34
kDisplay = 4;
35
35
kActuator = 5;
36
36
}
37
37
38
38
attribute int16u identifyTime = 0;
39
- readonly attribute enum8 identifyType = 1;
39
+ readonly attribute IdentifyTypeEnum identifyType = 1;
40
40
readonly attribute command_id generatedCommandList[] = 65528;
41
41
readonly attribute command_id acceptedCommandList[] = 65529;
42
42
readonly attribute event_id eventList[] = 65530;
@@ -49,8 +49,8 @@ server cluster Identify = 3 {
49
49
}
50
50
51
51
request struct TriggerEffectRequest {
52
- IdentifyEffectIdentifier effectIdentifier = 0;
53
- IdentifyEffectVariant effectVariant = 1;
52
+ EffectIdentifierEnum effectIdentifier = 0;
53
+ EffectVariantEnum effectVariant = 1;
54
54
}
55
55
56
56
command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0;
@@ -138,7 +138,7 @@ server cluster Scenes = 5 {
138
138
139
139
struct AttributeValuePair {
140
140
optional attrib_id attributeID = 0;
141
- int8u attributeValue[] = 1;
141
+ int32u attributeValue = 1;
142
142
}
143
143
144
144
struct ExtensionFieldSet {
@@ -151,6 +151,9 @@ server cluster Scenes = 5 {
151
151
readonly attribute group_id currentGroup = 2;
152
152
readonly attribute boolean sceneValid = 3;
153
153
readonly attribute bitmap8 nameSupport = 4;
154
+ readonly attribute nullable node_id lastConfiguredBy = 5;
155
+ readonly attribute int16u sceneTableSize = 6;
156
+ readonly attribute int8u remainingCapacity = 7;
154
157
readonly attribute command_id generatedCommandList[] = 65528;
155
158
readonly attribute command_id acceptedCommandList[] = 65529;
156
159
readonly attribute event_id eventList[] = 65530;
@@ -2329,6 +2332,34 @@ server cluster ModeSelect = 80 {
2329
2332
command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0;
2330
2333
}
2331
2334
2335
+ /** Attributes for reporting air quality classification */
2336
+ server cluster AirQuality = 91 {
2337
+ enum AirQualityEnum : ENUM8 {
2338
+ kUnknown = 0;
2339
+ kGood = 1;
2340
+ kFair = 2;
2341
+ kModerate = 3;
2342
+ kPoor = 4;
2343
+ kVeryPoor = 5;
2344
+ kExtremelyPoor = 6;
2345
+ }
2346
+
2347
+ bitmap Feature : BITMAP32 {
2348
+ kFair = 0x1;
2349
+ kModerate = 0x2;
2350
+ kVeryPoor = 0x4;
2351
+ kExtremelyPoor = 0x8;
2352
+ }
2353
+
2354
+ readonly attribute AirQualityEnum airQuality = 0;
2355
+ readonly attribute command_id generatedCommandList[] = 65528;
2356
+ readonly attribute command_id acceptedCommandList[] = 65529;
2357
+ readonly attribute event_id eventList[] = 65530;
2358
+ readonly attribute attrib_id attributeList[] = 65531;
2359
+ readonly attribute bitmap32 featureMap = 65532;
2360
+ readonly attribute int16u clusterRevision = 65533;
2361
+ }
2362
+
2332
2363
/** An interface to a generic way to secure a door */
2333
2364
server cluster DoorLock = 257 {
2334
2365
enum AlarmCodeEnum : ENUM8 {
@@ -5041,6 +5072,9 @@ endpoint 1 {
5041
5072
ram attribute currentGroup default = 0x0000;
5042
5073
ram attribute sceneValid default = 0x00;
5043
5074
ram attribute nameSupport;
5075
+ ram attribute lastConfiguredBy;
5076
+ ram attribute sceneTableSize;
5077
+ ram attribute remainingCapacity;
5044
5078
ram attribute featureMap default = 0;
5045
5079
ram attribute clusterRevision default = 4;
5046
5080
}
@@ -5166,6 +5200,16 @@ endpoint 1 {
5166
5200
ram attribute manufacturerExtension default = 255;
5167
5201
}
5168
5202
5203
+ server cluster AirQuality {
5204
+ ram attribute airQuality default = 0;
5205
+ callback attribute generatedCommandList;
5206
+ callback attribute acceptedCommandList;
5207
+ callback attribute eventList;
5208
+ callback attribute attributeList;
5209
+ ram attribute featureMap default = 15;
5210
+ ram attribute clusterRevision default = 1;
5211
+ }
5212
+
5169
5213
server cluster DoorLock {
5170
5214
emits event DoorLockAlarm;
5171
5215
emits event LockOperation;
0 commit comments