Skip to content

Commit f0aa431

Browse files
restyled-commitsMichail-Antropov
authored andcommitted
Restyled by prettier-json
1 parent 2761e26 commit f0aa431

File tree

3 files changed

+108
-360
lines changed

3 files changed

+108
-360
lines changed

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

+15-63
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,9 @@
145145
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
146146
"options": {
147147
"text": {
148-
"defaultResponsePolicy": [
149-
"Always",
150-
"Conditional",
151-
"Never"
152-
]
148+
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
153149
},
154-
"bool": [
155-
"commandDiscovery"
156-
]
150+
"bool": ["commandDiscovery"]
157151
},
158152
"defaults": {
159153
"text": {
@@ -199,13 +193,8 @@
199193
"SpecificationVersion",
200194
"MaxPathsPerInvoke"
201195
],
202-
"Bridged Device Basic Information": [
203-
"ProductAppearance"
204-
],
205-
"Descriptor": [
206-
"ClusterRevision",
207-
"FeatureMap"
208-
],
196+
"Bridged Device Basic Information": ["ProductAppearance"],
197+
"Descriptor": ["ClusterRevision", "FeatureMap"],
209198
"Device Energy Management": [
210199
"ESAType",
211200
"ESACanGenerate",
@@ -248,11 +237,7 @@
248237
"SessionEnergyDischarged",
249238
"FeatureMap"
250239
],
251-
"Energy EVSE Mode": [
252-
"SupportedModes",
253-
"CurrentMode",
254-
"FeatureMap"
255-
],
240+
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
256241
"Ethernet Network Diagnostics": [
257242
"PHYRate",
258243
"FullDuplex",
@@ -392,21 +377,14 @@
392377
"CurrentMaxRate",
393378
"OverrunCount"
394379
],
395-
"Channel": [
396-
"Lineup",
397-
"CurrentChannel"
398-
],
380+
"Channel": ["Lineup", "CurrentChannel"],
399381
"Media Playback": [
400382
"SampledPosition",
401383
"ActiveAudioTrack",
402384
"ActiveTextTrack"
403385
],
404-
"Application Launcher": [
405-
"CurrentApp"
406-
],
407-
"Application Basic": [
408-
"Application"
409-
],
386+
"Application Launcher": ["CurrentApp"],
387+
"Application Basic": ["Application"],
410388
"Time Synchronization": [
411389
"TrustedTimeSource",
412390
"DefaultNTP",
@@ -418,21 +396,15 @@
418396
"TimeZoneListMaxSize",
419397
"DSTOffsetListMaxSize"
420398
],
421-
"Temperature Control": [
422-
"SupportedTemperatureLevels"
423-
],
399+
"Temperature Control": ["SupportedTemperatureLevels"],
424400
"Dishwasher Mode": [
425401
"SupportedModes",
426402
"CurrentMode",
427403
"StartUpMode",
428404
"OnMode",
429405
"FeatureMap"
430406
],
431-
"Microwave Oven Mode": [
432-
"SupportedModes",
433-
"CurrentMode",
434-
"FeatureMap"
435-
],
407+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
436408
"Microwave Oven Control": [
437409
"CookTime",
438410
"MaxCookTime",
@@ -459,16 +431,8 @@
459431
"OnMode",
460432
"FeatureMap"
461433
],
462-
"RVC Clean Mode": [
463-
"SupportedModes",
464-
"CurrentMode",
465-
"FeatureMap"
466-
],
467-
"RVC Run Mode": [
468-
"SupportedModes",
469-
"CurrentMode",
470-
"FeatureMap"
471-
],
434+
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
435+
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
472436
"Operational State": [
473437
"OperationalState",
474438
"OperationalError",
@@ -645,13 +609,8 @@
645609
"LevelValue",
646610
"FeatureMap"
647611
],
648-
"Air Quality": [
649-
"AirQuality",
650-
"FeatureMap"
651-
],
652-
"Thermostat": [
653-
"QueuedPreset"
654-
],
612+
"Air Quality": ["AirQuality", "FeatureMap"],
613+
"Thermostat": ["QueuedPreset"],
655614
"Electrical Energy Measurement": [
656615
"Accuracy",
657616
"CumulativeEnergyImported",
@@ -695,14 +654,7 @@
695654
]
696655
},
697656
"defaultReportingPolicy": "mandatory",
698-
"ZCLDataTypes": [
699-
"ARRAY",
700-
"BITMAP",
701-
"ENUM",
702-
"NUMBER",
703-
"STRING",
704-
"STRUCT"
705-
],
657+
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
706658
"fabricHandling": {
707659
"automaticallyCreateFields": true,
708660
"indexFieldId": 254,

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

+15-63
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",
@@ -246,11 +235,7 @@
246235
"SessionEnergyDischarged",
247236
"FeatureMap"
248237
],
249-
"Energy EVSE Mode": [
250-
"SupportedModes",
251-
"CurrentMode",
252-
"FeatureMap"
253-
],
238+
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
254239
"Ethernet Network Diagnostics": [
255240
"PHYRate",
256241
"FullDuplex",
@@ -390,21 +375,14 @@
390375
"CurrentMaxRate",
391376
"OverrunCount"
392377
],
393-
"Channel": [
394-
"Lineup",
395-
"CurrentChannel"
396-
],
378+
"Channel": ["Lineup", "CurrentChannel"],
397379
"Media Playback": [
398380
"SampledPosition",
399381
"ActiveAudioTrack",
400382
"ActiveTextTrack"
401383
],
402-
"Application Launcher": [
403-
"CurrentApp"
404-
],
405-
"Application Basic": [
406-
"Application"
407-
],
384+
"Application Launcher": ["CurrentApp"],
385+
"Application Basic": ["Application"],
408386
"Time Synchronization": [
409387
"TrustedTimeSource",
410388
"DefaultNTP",
@@ -416,21 +394,15 @@
416394
"TimeZoneListMaxSize",
417395
"DSTOffsetListMaxSize"
418396
],
419-
"Temperature Control": [
420-
"SupportedTemperatureLevels"
421-
],
397+
"Temperature Control": ["SupportedTemperatureLevels"],
422398
"Dishwasher Mode": [
423399
"SupportedModes",
424400
"CurrentMode",
425401
"StartUpMode",
426402
"OnMode",
427403
"FeatureMap"
428404
],
429-
"Microwave Oven Mode": [
430-
"SupportedModes",
431-
"CurrentMode",
432-
"FeatureMap"
433-
],
405+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
434406
"Microwave Oven Control": [
435407
"CookTime",
436408
"MaxCookTime",
@@ -457,16 +429,8 @@
457429
"OnMode",
458430
"FeatureMap"
459431
],
460-
"RVC Clean Mode": [
461-
"SupportedModes",
462-
"CurrentMode",
463-
"FeatureMap"
464-
],
465-
"RVC Run Mode": [
466-
"SupportedModes",
467-
"CurrentMode",
468-
"FeatureMap"
469-
],
432+
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
433+
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
470434
"Operational State": [
471435
"OperationalState",
472436
"OperationalError",
@@ -643,13 +607,8 @@
643607
"LevelValue",
644608
"FeatureMap"
645609
],
646-
"Air Quality": [
647-
"AirQuality",
648-
"FeatureMap"
649-
],
650-
"Thermostat": [
651-
"QueuedPreset"
652-
],
610+
"Air Quality": ["AirQuality", "FeatureMap"],
611+
"Thermostat": ["QueuedPreset"],
653612
"Electrical Energy Measurement": [
654613
"Accuracy",
655614
"CumulativeEnergyImported",
@@ -693,14 +652,7 @@
693652
]
694653
},
695654
"defaultReportingPolicy": "mandatory",
696-
"ZCLDataTypes": [
697-
"ARRAY",
698-
"BITMAP",
699-
"ENUM",
700-
"NUMBER",
701-
"STRING",
702-
"STRUCT"
703-
],
655+
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
704656
"fabricHandling": {
705657
"automaticallyCreateFields": true,
706658
"indexFieldId": 254,

0 commit comments

Comments
 (0)