Skip to content

Commit ee724fc

Browse files
restyled-commitstennessee-google
authored andcommitted
Restyled by prettier-json
1 parent 9c4ca36 commit ee724fc

File tree

2 files changed

+34
-138
lines changed

2 files changed

+34
-138
lines changed

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

+17-69
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,9 @@
133133
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
134134
"options": {
135135
"text": {
136-
"defaultResponsePolicy": [
137-
"Always",
138-
"Conditional",
139-
"Never"
140-
]
136+
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
141137
},
142-
"bool": [
143-
"commandDiscovery"
144-
]
138+
"bool": ["commandDiscovery"]
145139
},
146140
"defaults": {
147141
"text": {
@@ -187,13 +181,8 @@
187181
"SpecificationVersion",
188182
"MaxPathsPerInvoke"
189183
],
190-
"Bridged Device Basic Information": [
191-
"ProductAppearance"
192-
],
193-
"Descriptor": [
194-
"ClusterRevision",
195-
"FeatureMap"
196-
],
184+
"Bridged Device Basic Information": ["ProductAppearance"],
185+
"Descriptor": ["ClusterRevision", "FeatureMap"],
197186
"Device Energy Management": [
198187
"ESAType",
199188
"ESACanGenerate",
@@ -236,11 +225,7 @@
236225
"SessionEnergyDischarged",
237226
"FeatureMap"
238227
],
239-
"Energy EVSE Mode": [
240-
"SupportedModes",
241-
"CurrentMode",
242-
"FeatureMap"
243-
],
228+
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
244229
"Ethernet Network Diagnostics": [
245230
"PHYRate",
246231
"FullDuplex",
@@ -379,21 +364,14 @@
379364
"CurrentMaxRate",
380365
"OverrunCount"
381366
],
382-
"Channel": [
383-
"Lineup",
384-
"CurrentChannel"
385-
],
367+
"Channel": ["Lineup", "CurrentChannel"],
386368
"Media Playback": [
387369
"SampledPosition",
388370
"ActiveAudioTrack",
389371
"ActiveTextTrack"
390372
],
391-
"Application Launcher": [
392-
"CurrentApp"
393-
],
394-
"Application Basic": [
395-
"Application"
396-
],
373+
"Application Launcher": ["CurrentApp"],
374+
"Application Basic": ["Application"],
397375
"Time Synchronization": [
398376
"TrustedTimeSource",
399377
"DefaultNTP",
@@ -405,21 +383,15 @@
405383
"TimeZoneListMaxSize",
406384
"DSTOffsetListMaxSize"
407385
],
408-
"Temperature Control": [
409-
"SupportedTemperatureLevels"
410-
],
386+
"Temperature Control": ["SupportedTemperatureLevels"],
411387
"Dishwasher Mode": [
412388
"SupportedModes",
413389
"CurrentMode",
414390
"StartUpMode",
415391
"OnMode",
416392
"FeatureMap"
417393
],
418-
"Microwave Oven Mode": [
419-
"SupportedModes",
420-
"CurrentMode",
421-
"FeatureMap"
422-
],
394+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
423395
"Microwave Oven Control": [
424396
"CookTime",
425397
"MaxCookTime",
@@ -446,16 +418,8 @@
446418
"OnMode",
447419
"FeatureMap"
448420
],
449-
"RVC Clean Mode": [
450-
"SupportedModes",
451-
"CurrentMode",
452-
"FeatureMap"
453-
],
454-
"RVC Run Mode": [
455-
"SupportedModes",
456-
"CurrentMode",
457-
"FeatureMap"
458-
],
421+
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
422+
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
459423
"Operational State": [
460424
"OperationalState",
461425
"OperationalError",
@@ -632,13 +596,8 @@
632596
"LevelValue",
633597
"FeatureMap"
634598
],
635-
"Air Quality": [
636-
"AirQuality",
637-
"FeatureMap"
638-
],
639-
"Thermostat": [
640-
"QueuedPreset"
641-
],
599+
"Air Quality": ["AirQuality", "FeatureMap"],
600+
"Thermostat": ["QueuedPreset"],
642601
"Electrical Energy Measurement": [
643602
"Accuracy",
644603
"CumulativeEnergyImported",
@@ -670,22 +629,11 @@
670629
"NeutralCurrent",
671630
"FeatureMap"
672631
],
673-
"Valve Configuration and Control": [
674-
"RemainingDuration"
675-
],
676-
"Boolean State Configuration": [
677-
"CurrentSensitivityLevel"
678-
]
632+
"Valve Configuration and Control": ["RemainingDuration"],
633+
"Boolean State Configuration": ["CurrentSensitivityLevel"]
679634
},
680635
"defaultReportingPolicy": "mandatory",
681-
"ZCLDataTypes": [
682-
"ARRAY",
683-
"BITMAP",
684-
"ENUM",
685-
"NUMBER",
686-
"STRING",
687-
"STRUCT"
688-
],
636+
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
689637
"fabricHandling": {
690638
"automaticallyCreateFields": true,
691639
"indexFieldId": 254,

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

+17-69
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,9 @@
131131
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
132132
"options": {
133133
"text": {
134-
"defaultResponsePolicy": [
135-
"Always",
136-
"Conditional",
137-
"Never"
138-
]
134+
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
139135
},
140-
"bool": [
141-
"commandDiscovery"
142-
]
136+
"bool": ["commandDiscovery"]
143137
},
144138
"defaults": {
145139
"text": {
@@ -185,13 +179,8 @@
185179
"SpecificationVersion",
186180
"MaxPathsPerInvoke"
187181
],
188-
"Bridged Device Basic Information": [
189-
"ProductAppearance"
190-
],
191-
"Descriptor": [
192-
"ClusterRevision",
193-
"FeatureMap"
194-
],
182+
"Bridged Device Basic Information": ["ProductAppearance"],
183+
"Descriptor": ["ClusterRevision", "FeatureMap"],
195184
"Device Energy Management": [
196185
"ESAType",
197186
"ESACanGenerate",
@@ -234,11 +223,7 @@
234223
"SessionEnergyDischarged",
235224
"FeatureMap"
236225
],
237-
"Energy EVSE Mode": [
238-
"SupportedModes",
239-
"CurrentMode",
240-
"FeatureMap"
241-
],
226+
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
242227
"Ethernet Network Diagnostics": [
243228
"PHYRate",
244229
"FullDuplex",
@@ -377,21 +362,14 @@
377362
"CurrentMaxRate",
378363
"OverrunCount"
379364
],
380-
"Channel": [
381-
"Lineup",
382-
"CurrentChannel"
383-
],
365+
"Channel": ["Lineup", "CurrentChannel"],
384366
"Media Playback": [
385367
"SampledPosition",
386368
"ActiveAudioTrack",
387369
"ActiveTextTrack"
388370
],
389-
"Application Launcher": [
390-
"CurrentApp"
391-
],
392-
"Application Basic": [
393-
"Application"
394-
],
371+
"Application Launcher": ["CurrentApp"],
372+
"Application Basic": ["Application"],
395373
"Time Synchronization": [
396374
"TrustedTimeSource",
397375
"DefaultNTP",
@@ -403,21 +381,15 @@
403381
"TimeZoneListMaxSize",
404382
"DSTOffsetListMaxSize"
405383
],
406-
"Temperature Control": [
407-
"SupportedTemperatureLevels"
408-
],
384+
"Temperature Control": ["SupportedTemperatureLevels"],
409385
"Dishwasher Mode": [
410386
"SupportedModes",
411387
"CurrentMode",
412388
"StartUpMode",
413389
"OnMode",
414390
"FeatureMap"
415391
],
416-
"Microwave Oven Mode": [
417-
"SupportedModes",
418-
"CurrentMode",
419-
"FeatureMap"
420-
],
392+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
421393
"Microwave Oven Control": [
422394
"CookTime",
423395
"MaxCookTime",
@@ -444,16 +416,8 @@
444416
"OnMode",
445417
"FeatureMap"
446418
],
447-
"RVC Clean Mode": [
448-
"SupportedModes",
449-
"CurrentMode",
450-
"FeatureMap"
451-
],
452-
"RVC Run Mode": [
453-
"SupportedModes",
454-
"CurrentMode",
455-
"FeatureMap"
456-
],
419+
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
420+
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
457421
"Operational State": [
458422
"OperationalState",
459423
"OperationalError",
@@ -630,13 +594,8 @@
630594
"LevelValue",
631595
"FeatureMap"
632596
],
633-
"Air Quality": [
634-
"AirQuality",
635-
"FeatureMap"
636-
],
637-
"Thermostat": [
638-
"QueuedPreset"
639-
],
597+
"Air Quality": ["AirQuality", "FeatureMap"],
598+
"Thermostat": ["QueuedPreset"],
640599
"Electrical Energy Measurement": [
641600
"Accuracy",
642601
"CumulativeEnergyImported",
@@ -668,22 +627,11 @@
668627
"NeutralCurrent",
669628
"FeatureMap"
670629
],
671-
"Valve Configuration and Control": [
672-
"RemainingDuration"
673-
],
674-
"Boolean State Configuration": [
675-
"CurrentSensitivityLevel"
676-
]
630+
"Valve Configuration and Control": ["RemainingDuration"],
631+
"Boolean State Configuration": ["CurrentSensitivityLevel"]
677632
},
678633
"defaultReportingPolicy": "mandatory",
679-
"ZCLDataTypes": [
680-
"ARRAY",
681-
"BITMAP",
682-
"ENUM",
683-
"NUMBER",
684-
"STRING",
685-
"STRUCT"
686-
],
634+
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
687635
"fabricHandling": {
688636
"automaticallyCreateFields": true,
689637
"indexFieldId": 254,

0 commit comments

Comments
 (0)