Skip to content

Commit 759b686

Browse files
committed
Generated using ./alchemy zap --attribute="in-progress" ... Chime.adoc
1 parent 7de6e2f commit 759b686

File tree

5 files changed

+442
-130
lines changed

5 files changed

+442
-130
lines changed

.github/workflows/tests.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
--no-print \
9292
--log-level info \
9393
src/app/zap-templates/zcl/data-model/chip/global-attributes.xml \
94+
src/app/zap-templates/zcl/data-model/chip/chime-cluster.xml \
9495
src/app/zap-templates/zcl/data-model/chip/global-bitmaps.xml \
9596
src/app/zap-templates/zcl/data-model/chip/global-enums.xml \
9697
src/app/zap-templates/zcl/data-model/chip/global-structs.xml \

scripts/rules.matterlint

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml";
1515
load "../src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml";
1616
load "../src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information.xml";
1717
load "../src/app/zap-templates/zcl/data-model/chip/channel-cluster.xml";
18+
load "../src/app/zap-templates/zcl/data-model/chip/chime-cluster.xml";
1819
load "../src/app/zap-templates/zcl/data-model/chip/chip-ota.xml";
1920
load "../src/app/zap-templates/zcl/data-model/chip/chip-types.xml";
2021
load "../src/app/zap-templates/zcl/data-model/chip/clusters-extensions.xml";

src/app/zap-templates/zcl/zcl-with-test-extensions.json

+90-22
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"boolean-state-configuration-cluster.xml",
2828
"actions-cluster.xml",
2929
"bridged-device-basic-information.xml",
30+
"chime-cluster.xml",
3031
"chip-ota.xml",
3132
"channel-cluster.xml",
3233
"clusters-extensions.xml",
@@ -142,9 +143,15 @@
142143
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
143144
"options": {
144145
"text": {
145-
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
146+
"defaultResponsePolicy": [
147+
"Always",
148+
"Conditional",
149+
"Never"
150+
]
146151
},
147-
"bool": ["commandDiscovery"]
152+
"bool": [
153+
"commandDiscovery"
154+
]
148155
},
149156
"defaults": {
150157
"text": {
@@ -190,8 +197,13 @@
190197
"SpecificationVersion",
191198
"MaxPathsPerInvoke"
192199
],
193-
"Bridged Device Basic Information": ["ProductAppearance"],
194-
"Descriptor": ["ClusterRevision", "FeatureMap"],
200+
"Bridged Device Basic Information": [
201+
"ProductAppearance"
202+
],
203+
"Descriptor": [
204+
"ClusterRevision",
205+
"FeatureMap"
206+
],
195207
"Device Energy Management": [
196208
"ESAType",
197209
"ESACanGenerate",
@@ -243,7 +255,11 @@
243255
"SessionEnergyDischarged",
244256
"FeatureMap"
245257
],
246-
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
258+
"Energy EVSE Mode": [
259+
"SupportedModes",
260+
"CurrentMode",
261+
"FeatureMap"
262+
],
247263
"Ethernet Network Diagnostics": [
248264
"PHYRate",
249265
"FullDuplex",
@@ -288,7 +304,11 @@
288304
"ClientsSupportedPerFabric",
289305
"MaximumCheckInBackOff"
290306
],
291-
"Occupancy Sensing": ["HoldTimeLimits", "HoldTime", "FeatureMap"],
307+
"Occupancy Sensing": [
308+
"HoldTimeLimits",
309+
"HoldTime",
310+
"FeatureMap"
311+
],
292312
"Operational Credentials": [
293313
"SupportedFabrics",
294314
"CommissionedFabrics",
@@ -395,14 +415,21 @@
395415
"CurrentMaxRate",
396416
"OverrunCount"
397417
],
398-
"Channel": ["Lineup", "CurrentChannel"],
418+
"Channel": [
419+
"Lineup",
420+
"CurrentChannel"
421+
],
399422
"Media Playback": [
400423
"SampledPosition",
401424
"ActiveAudioTrack",
402425
"ActiveTextTrack"
403426
],
404-
"Application Launcher": ["CurrentApp"],
405-
"Application Basic": ["Application"],
427+
"Application Launcher": [
428+
"CurrentApp"
429+
],
430+
"Application Basic": [
431+
"Application"
432+
],
406433
"Time Synchronization": [
407434
"TrustedTimeSource",
408435
"DefaultNTP",
@@ -414,15 +441,21 @@
414441
"TimeZoneListMaxSize",
415442
"DSTOffsetListMaxSize"
416443
],
417-
"Temperature Control": ["SupportedTemperatureLevels"],
444+
"Temperature Control": [
445+
"SupportedTemperatureLevels"
446+
],
418447
"Dishwasher Mode": [
419448
"SupportedModes",
420449
"CurrentMode",
421450
"StartUpMode",
422451
"OnMode",
423452
"FeatureMap"
424453
],
425-
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
454+
"Microwave Oven Mode": [
455+
"SupportedModes",
456+
"CurrentMode",
457+
"FeatureMap"
458+
],
426459
"Microwave Oven Control": [
427460
"CookTime",
428461
"MaxCookTime",
@@ -449,8 +482,16 @@
449482
"OnMode",
450483
"FeatureMap"
451484
],
452-
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
453-
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
485+
"RVC Clean Mode": [
486+
"SupportedModes",
487+
"CurrentMode",
488+
"FeatureMap"
489+
],
490+
"RVC Run Mode": [
491+
"SupportedModes",
492+
"CurrentMode",
493+
"FeatureMap"
494+
],
454495
"Operational State": [
455496
"OperationalState",
456497
"OperationalError",
@@ -627,7 +668,10 @@
627668
"LevelValue",
628669
"FeatureMap"
629670
],
630-
"Air Quality": ["AirQuality", "FeatureMap"],
671+
"Air Quality": [
672+
"AirQuality",
673+
"FeatureMap"
674+
],
631675
"Electrical Energy Measurement": [
632676
"Accuracy",
633677
"CumulativeEnergyImported",
@@ -659,9 +703,15 @@
659703
"NeutralCurrent",
660704
"FeatureMap"
661705
],
662-
"Power Topology": ["FeatureMap"],
663-
"Valve Configuration and Control": ["RemainingDuration"],
664-
"Boolean State Configuration": ["CurrentSensitivityLevel"],
706+
"Power Topology": [
707+
"FeatureMap"
708+
],
709+
"Valve Configuration and Control": [
710+
"RemainingDuration"
711+
],
712+
"Boolean State Configuration": [
713+
"CurrentSensitivityLevel"
714+
],
665715
"Water Heater Management": [
666716
"HeaterTypes",
667717
"HeatDemand",
@@ -672,17 +722,35 @@
672722
"FeatureMap",
673723
"ClusterRevision"
674724
],
675-
"Water Heater Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
676-
"Wi-Fi Network Management": ["SSID", "PassphraseSurrogate"],
725+
"Water Heater Mode": [
726+
"SupportedModes",
727+
"CurrentMode",
728+
"FeatureMap"
729+
],
730+
"Wi-Fi Network Management": [
731+
"SSID",
732+
"PassphraseSurrogate"
733+
],
677734
"Thread Network Directory": [
678735
"PreferredExtendedPanID",
679736
"ThreadNetworks",
680737
"ThreadNetworkTableSize"
681738
],
682-
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"]
739+
"Service Area": [
740+
"CurrentArea",
741+
"EstimatedEndTime",
742+
"FeatureMap"
743+
]
683744
},
684745
"defaultReportingPolicy": "mandatory",
685-
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
746+
"ZCLDataTypes": [
747+
"ARRAY",
748+
"BITMAP",
749+
"ENUM",
750+
"NUMBER",
751+
"STRING",
752+
"STRUCT"
753+
],
686754
"fabricHandling": {
687755
"automaticallyCreateFields": true,
688756
"indexFieldId": 254,
@@ -692,4 +760,4 @@
692760
"uiOptions": {
693761
"showProfileId": false
694762
}
695-
}
763+
}

0 commit comments

Comments
 (0)