Skip to content

Commit a9e8749

Browse files
restyled-commitsgmarcosb
authored andcommitted
Restyled by prettier-json
1 parent 35d635c commit a9e8749

File tree

2 files changed

+42
-176
lines changed

2 files changed

+42
-176
lines changed

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

+21-88
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,9 @@
143143
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
144144
"options": {
145145
"text": {
146-
"defaultResponsePolicy": [
147-
"Always",
148-
"Conditional",
149-
"Never"
150-
]
146+
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
151147
},
152-
"bool": [
153-
"commandDiscovery"
154-
]
148+
"bool": ["commandDiscovery"]
155149
},
156150
"defaults": {
157151
"text": {
@@ -197,13 +191,8 @@
197191
"SpecificationVersion",
198192
"MaxPathsPerInvoke"
199193
],
200-
"Bridged Device Basic Information": [
201-
"ProductAppearance"
202-
],
203-
"Descriptor": [
204-
"ClusterRevision",
205-
"FeatureMap"
206-
],
194+
"Bridged Device Basic Information": ["ProductAppearance"],
195+
"Descriptor": ["ClusterRevision", "FeatureMap"],
207196
"Device Energy Management": [
208197
"ESAType",
209198
"ESACanGenerate",
@@ -255,11 +244,7 @@
255244
"SessionEnergyDischarged",
256245
"FeatureMap"
257246
],
258-
"Energy EVSE Mode": [
259-
"SupportedModes",
260-
"CurrentMode",
261-
"FeatureMap"
262-
],
247+
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
263248
"Ethernet Network Diagnostics": [
264249
"PHYRate",
265250
"FullDuplex",
@@ -304,11 +289,7 @@
304289
"ClientsSupportedPerFabric",
305290
"MaximumCheckInBackOff"
306291
],
307-
"Occupancy Sensing": [
308-
"HoldTimeLimits",
309-
"HoldTime",
310-
"FeatureMap"
311-
],
292+
"Occupancy Sensing": ["HoldTimeLimits", "HoldTime", "FeatureMap"],
312293
"Operational Credentials": [
313294
"SupportedFabrics",
314295
"CommissionedFabrics",
@@ -415,21 +396,14 @@
415396
"CurrentMaxRate",
416397
"OverrunCount"
417398
],
418-
"Channel": [
419-
"Lineup",
420-
"CurrentChannel"
421-
],
399+
"Channel": ["Lineup", "CurrentChannel"],
422400
"Media Playback": [
423401
"SampledPosition",
424402
"ActiveAudioTrack",
425403
"ActiveTextTrack"
426404
],
427-
"Application Launcher": [
428-
"CurrentApp"
429-
],
430-
"Application Basic": [
431-
"Application"
432-
],
405+
"Application Launcher": ["CurrentApp"],
406+
"Application Basic": ["Application"],
433407
"Time Synchronization": [
434408
"TrustedTimeSource",
435409
"DefaultNTP",
@@ -441,21 +415,15 @@
441415
"TimeZoneListMaxSize",
442416
"DSTOffsetListMaxSize"
443417
],
444-
"Temperature Control": [
445-
"SupportedTemperatureLevels"
446-
],
418+
"Temperature Control": ["SupportedTemperatureLevels"],
447419
"Dishwasher Mode": [
448420
"SupportedModes",
449421
"CurrentMode",
450422
"StartUpMode",
451423
"OnMode",
452424
"FeatureMap"
453425
],
454-
"Microwave Oven Mode": [
455-
"SupportedModes",
456-
"CurrentMode",
457-
"FeatureMap"
458-
],
426+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
459427
"Microwave Oven Control": [
460428
"CookTime",
461429
"MaxCookTime",
@@ -482,16 +450,8 @@
482450
"OnMode",
483451
"FeatureMap"
484452
],
485-
"RVC Clean Mode": [
486-
"SupportedModes",
487-
"CurrentMode",
488-
"FeatureMap"
489-
],
490-
"RVC Run Mode": [
491-
"SupportedModes",
492-
"CurrentMode",
493-
"FeatureMap"
494-
],
453+
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
454+
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
495455
"Operational State": [
496456
"OperationalState",
497457
"OperationalError",
@@ -668,10 +628,7 @@
668628
"LevelValue",
669629
"FeatureMap"
670630
],
671-
"Air Quality": [
672-
"AirQuality",
673-
"FeatureMap"
674-
],
631+
"Air Quality": ["AirQuality", "FeatureMap"],
675632
"Electrical Energy Measurement": [
676633
"Accuracy",
677634
"CumulativeEnergyImported",
@@ -703,15 +660,9 @@
703660
"NeutralCurrent",
704661
"FeatureMap"
705662
],
706-
"Power Topology": [
707-
"FeatureMap"
708-
],
709-
"Valve Configuration and Control": [
710-
"RemainingDuration"
711-
],
712-
"Boolean State Configuration": [
713-
"CurrentSensitivityLevel"
714-
],
663+
"Power Topology": ["FeatureMap"],
664+
"Valve Configuration and Control": ["RemainingDuration"],
665+
"Boolean State Configuration": ["CurrentSensitivityLevel"],
715666
"Water Heater Management": [
716667
"HeaterTypes",
717668
"HeatDemand",
@@ -722,36 +673,18 @@
722673
"FeatureMap",
723674
"ClusterRevision"
724675
],
725-
"Water Heater Mode": [
726-
"SupportedModes",
727-
"CurrentMode",
728-
"FeatureMap"
729-
],
730-
"Wi-Fi Network Management": [
731-
"SSID",
732-
"PassphraseSurrogate"
733-
],
676+
"Water Heater Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
677+
"Wi-Fi Network Management": ["SSID", "PassphraseSurrogate"],
734678
"Thread Network Directory": [
735679
"PreferredExtendedPanID",
736680
"ThreadNetworks",
737681
"ThreadNetworkTableSize"
738682
],
739-
"Service Area": [
740-
"CurrentArea",
741-
"EstimatedEndTime",
742-
"FeatureMap"
743-
]
683+
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"]
744684
},
745685
"mandatoryDeviceTypes": "0x0016",
746686
"defaultReportingPolicy": "mandatory",
747-
"ZCLDataTypes": [
748-
"ARRAY",
749-
"BITMAP",
750-
"ENUM",
751-
"NUMBER",
752-
"STRING",
753-
"STRUCT"
754-
],
687+
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
755688
"fabricHandling": {
756689
"automaticallyCreateFields": true,
757690
"indexFieldId": 254,

src/app/zap-templates/zcl/zcl.json

+21-88
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,9 @@
137137
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
138138
"options": {
139139
"text": {
140-
"defaultResponsePolicy": [
141-
"Always",
142-
"Conditional",
143-
"Never"
144-
]
140+
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
145141
},
146-
"bool": [
147-
"commandDiscovery"
148-
]
142+
"bool": ["commandDiscovery"]
149143
},
150144
"defaults": {
151145
"text": {
@@ -191,13 +185,8 @@
191185
"SpecificationVersion",
192186
"MaxPathsPerInvoke"
193187
],
194-
"Bridged Device Basic Information": [
195-
"ProductAppearance"
196-
],
197-
"Descriptor": [
198-
"ClusterRevision",
199-
"FeatureMap"
200-
],
188+
"Bridged Device Basic Information": ["ProductAppearance"],
189+
"Descriptor": ["ClusterRevision", "FeatureMap"],
201190
"Device Energy Management": [
202191
"ESAType",
203192
"ESACanGenerate",
@@ -249,11 +238,7 @@
249238
"SessionEnergyDischarged",
250239
"FeatureMap"
251240
],
252-
"Energy EVSE Mode": [
253-
"SupportedModes",
254-
"CurrentMode",
255-
"FeatureMap"
256-
],
241+
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
257242
"Ethernet Network Diagnostics": [
258243
"PHYRate",
259244
"FullDuplex",
@@ -298,11 +283,7 @@
298283
"ClientsSupportedPerFabric",
299284
"MaximumCheckInBackOff"
300285
],
301-
"Occupancy Sensing": [
302-
"HoldTimeLimits",
303-
"HoldTime",
304-
"FeatureMap"
305-
],
286+
"Occupancy Sensing": ["HoldTimeLimits", "HoldTime", "FeatureMap"],
306287
"Operational Credentials": [
307288
"SupportedFabrics",
308289
"CommissionedFabrics",
@@ -409,21 +390,14 @@
409390
"CurrentMaxRate",
410391
"OverrunCount"
411392
],
412-
"Channel": [
413-
"Lineup",
414-
"CurrentChannel"
415-
],
393+
"Channel": ["Lineup", "CurrentChannel"],
416394
"Media Playback": [
417395
"SampledPosition",
418396
"ActiveAudioTrack",
419397
"ActiveTextTrack"
420398
],
421-
"Application Launcher": [
422-
"CurrentApp"
423-
],
424-
"Application Basic": [
425-
"Application"
426-
],
399+
"Application Launcher": ["CurrentApp"],
400+
"Application Basic": ["Application"],
427401
"Time Synchronization": [
428402
"TrustedTimeSource",
429403
"DefaultNTP",
@@ -435,21 +409,15 @@
435409
"TimeZoneListMaxSize",
436410
"DSTOffsetListMaxSize"
437411
],
438-
"Temperature Control": [
439-
"SupportedTemperatureLevels"
440-
],
412+
"Temperature Control": ["SupportedTemperatureLevels"],
441413
"Dishwasher Mode": [
442414
"SupportedModes",
443415
"CurrentMode",
444416
"StartUpMode",
445417
"OnMode",
446418
"FeatureMap"
447419
],
448-
"Microwave Oven Mode": [
449-
"SupportedModes",
450-
"CurrentMode",
451-
"FeatureMap"
452-
],
420+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
453421
"Microwave Oven Control": [
454422
"CookTime",
455423
"MaxCookTime",
@@ -476,16 +444,8 @@
476444
"OnMode",
477445
"FeatureMap"
478446
],
479-
"RVC Clean Mode": [
480-
"SupportedModes",
481-
"CurrentMode",
482-
"FeatureMap"
483-
],
484-
"RVC Run Mode": [
485-
"SupportedModes",
486-
"CurrentMode",
487-
"FeatureMap"
488-
],
447+
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
448+
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
489449
"Operational State": [
490450
"OperationalState",
491451
"OperationalError",
@@ -662,10 +622,7 @@
662622
"LevelValue",
663623
"FeatureMap"
664624
],
665-
"Air Quality": [
666-
"AirQuality",
667-
"FeatureMap"
668-
],
625+
"Air Quality": ["AirQuality", "FeatureMap"],
669626
"Electrical Energy Measurement": [
670627
"Accuracy",
671628
"CumulativeEnergyImported",
@@ -697,15 +654,9 @@
697654
"NeutralCurrent",
698655
"FeatureMap"
699656
],
700-
"Power Topology": [
701-
"FeatureMap"
702-
],
703-
"Valve Configuration and Control": [
704-
"RemainingDuration"
705-
],
706-
"Boolean State Configuration": [
707-
"CurrentSensitivityLevel"
708-
],
657+
"Power Topology": ["FeatureMap"],
658+
"Valve Configuration and Control": ["RemainingDuration"],
659+
"Boolean State Configuration": ["CurrentSensitivityLevel"],
709660
"Water Heater Management": [
710661
"HeaterTypes",
711662
"HeatDemand",
@@ -716,36 +667,18 @@
716667
"FeatureMap",
717668
"ClusterRevision"
718669
],
719-
"Water Heater Mode": [
720-
"SupportedModes",
721-
"CurrentMode",
722-
"FeatureMap"
723-
],
724-
"Wi-Fi Network Management": [
725-
"SSID",
726-
"PassphraseSurrogate"
727-
],
670+
"Water Heater Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
671+
"Wi-Fi Network Management": ["SSID", "PassphraseSurrogate"],
728672
"Thread Network Directory": [
729673
"PreferredExtendedPanID",
730674
"ThreadNetworks",
731675
"ThreadNetworkTableSize"
732676
],
733-
"Service Area": [
734-
"CurrentArea",
735-
"EstimatedEndTime",
736-
"FeatureMap"
737-
]
677+
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"]
738678
},
739679
"mandatoryDeviceTypes": "0x0016",
740680
"defaultReportingPolicy": "mandatory",
741-
"ZCLDataTypes": [
742-
"ARRAY",
743-
"BITMAP",
744-
"ENUM",
745-
"NUMBER",
746-
"STRING",
747-
"STRUCT"
748-
],
681+
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
749682
"fabricHandling": {
750683
"automaticallyCreateFields": true,
751684
"indexFieldId": 254,

0 commit comments

Comments
 (0)