Skip to content

Commit bc046e5

Browse files
restyled-commitsMichail-Antropov
authored andcommitted
Restyled by prettier-json
1 parent 4c45108 commit bc046e5

File tree

3 files changed

+118
-390
lines changed

3 files changed

+118
-390
lines changed

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

+19-75
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,9 @@
139139
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
140140
"options": {
141141
"text": {
142-
"defaultResponsePolicy": [
143-
"Always",
144-
"Conditional",
145-
"Never"
146-
]
142+
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
147143
},
148-
"bool": [
149-
"commandDiscovery"
150-
]
144+
"bool": ["commandDiscovery"]
151145
},
152146
"defaults": {
153147
"text": {
@@ -193,13 +187,8 @@
193187
"SpecificationVersion",
194188
"MaxPathsPerInvoke"
195189
],
196-
"Bridged Device Basic Information": [
197-
"ProductAppearance"
198-
],
199-
"Descriptor": [
200-
"ClusterRevision",
201-
"FeatureMap"
202-
],
190+
"Bridged Device Basic Information": ["ProductAppearance"],
191+
"Descriptor": ["ClusterRevision", "FeatureMap"],
203192
"Device Energy Management": [
204193
"ESAType",
205194
"ESACanGenerate",
@@ -242,11 +231,7 @@
242231
"SessionEnergyDischarged",
243232
"FeatureMap"
244233
],
245-
"Energy EVSE Mode": [
246-
"SupportedModes",
247-
"CurrentMode",
248-
"FeatureMap"
249-
],
234+
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
250235
"Ethernet Network Diagnostics": [
251236
"PHYRate",
252237
"FullDuplex",
@@ -385,21 +370,14 @@
385370
"CurrentMaxRate",
386371
"OverrunCount"
387372
],
388-
"Channel": [
389-
"Lineup",
390-
"CurrentChannel"
391-
],
373+
"Channel": ["Lineup", "CurrentChannel"],
392374
"Media Playback": [
393375
"SampledPosition",
394376
"ActiveAudioTrack",
395377
"ActiveTextTrack"
396378
],
397-
"Application Launcher": [
398-
"CurrentApp"
399-
],
400-
"Application Basic": [
401-
"Application"
402-
],
379+
"Application Launcher": ["CurrentApp"],
380+
"Application Basic": ["Application"],
403381
"Time Synchronization": [
404382
"TrustedTimeSource",
405383
"DefaultNTP",
@@ -411,21 +389,15 @@
411389
"TimeZoneListMaxSize",
412390
"DSTOffsetListMaxSize"
413391
],
414-
"Temperature Control": [
415-
"SupportedTemperatureLevels"
416-
],
392+
"Temperature Control": ["SupportedTemperatureLevels"],
417393
"Dishwasher Mode": [
418394
"SupportedModes",
419395
"CurrentMode",
420396
"StartUpMode",
421397
"OnMode",
422398
"FeatureMap"
423399
],
424-
"Microwave Oven Mode": [
425-
"SupportedModes",
426-
"CurrentMode",
427-
"FeatureMap"
428-
],
400+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
429401
"Microwave Oven Control": [
430402
"CookTime",
431403
"MaxCookTime",
@@ -452,16 +424,8 @@
452424
"OnMode",
453425
"FeatureMap"
454426
],
455-
"RVC Clean Mode": [
456-
"SupportedModes",
457-
"CurrentMode",
458-
"FeatureMap"
459-
],
460-
"RVC Run Mode": [
461-
"SupportedModes",
462-
"CurrentMode",
463-
"FeatureMap"
464-
],
427+
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
428+
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
465429
"Operational State": [
466430
"OperationalState",
467431
"OperationalError",
@@ -638,13 +602,8 @@
638602
"LevelValue",
639603
"FeatureMap"
640604
],
641-
"Air Quality": [
642-
"AirQuality",
643-
"FeatureMap"
644-
],
645-
"Thermostat": [
646-
"QueuedPreset"
647-
],
605+
"Air Quality": ["AirQuality", "FeatureMap"],
606+
"Thermostat": ["QueuedPreset"],
648607
"Electrical Energy Measurement": [
649608
"Accuracy",
650609
"CumulativeEnergyImported",
@@ -676,28 +635,13 @@
676635
"NeutralCurrent",
677636
"FeatureMap"
678637
],
679-
"Power Topology": [
680-
"FeatureMap"
681-
],
682-
"Valve Configuration and Control": [
683-
"RemainingDuration"
684-
],
685-
"Boolean State Configuration": [
686-
"CurrentSensitivityLevel"
687-
],
688-
"Wi-Fi Network Management": [
689-
"SSID"
690-
]
638+
"Power Topology": ["FeatureMap"],
639+
"Valve Configuration and Control": ["RemainingDuration"],
640+
"Boolean State Configuration": ["CurrentSensitivityLevel"],
641+
"Wi-Fi Network Management": ["SSID"]
691642
},
692643
"defaultReportingPolicy": "mandatory",
693-
"ZCLDataTypes": [
694-
"ARRAY",
695-
"BITMAP",
696-
"ENUM",
697-
"NUMBER",
698-
"STRING",
699-
"STRUCT"
700-
],
644+
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
701645
"fabricHandling": {
702646
"automaticallyCreateFields": true,
703647
"indexFieldId": 254,

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

+19-75
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",
@@ -240,11 +229,7 @@
240229
"SessionEnergyDischarged",
241230
"FeatureMap"
242231
],
243-
"Energy EVSE Mode": [
244-
"SupportedModes",
245-
"CurrentMode",
246-
"FeatureMap"
247-
],
232+
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
248233
"Ethernet Network Diagnostics": [
249234
"PHYRate",
250235
"FullDuplex",
@@ -383,21 +368,14 @@
383368
"CurrentMaxRate",
384369
"OverrunCount"
385370
],
386-
"Channel": [
387-
"Lineup",
388-
"CurrentChannel"
389-
],
371+
"Channel": ["Lineup", "CurrentChannel"],
390372
"Media Playback": [
391373
"SampledPosition",
392374
"ActiveAudioTrack",
393375
"ActiveTextTrack"
394376
],
395-
"Application Launcher": [
396-
"CurrentApp"
397-
],
398-
"Application Basic": [
399-
"Application"
400-
],
377+
"Application Launcher": ["CurrentApp"],
378+
"Application Basic": ["Application"],
401379
"Time Synchronization": [
402380
"TrustedTimeSource",
403381
"DefaultNTP",
@@ -409,21 +387,15 @@
409387
"TimeZoneListMaxSize",
410388
"DSTOffsetListMaxSize"
411389
],
412-
"Temperature Control": [
413-
"SupportedTemperatureLevels"
414-
],
390+
"Temperature Control": ["SupportedTemperatureLevels"],
415391
"Dishwasher Mode": [
416392
"SupportedModes",
417393
"CurrentMode",
418394
"StartUpMode",
419395
"OnMode",
420396
"FeatureMap"
421397
],
422-
"Microwave Oven Mode": [
423-
"SupportedModes",
424-
"CurrentMode",
425-
"FeatureMap"
426-
],
398+
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
427399
"Microwave Oven Control": [
428400
"CookTime",
429401
"MaxCookTime",
@@ -450,16 +422,8 @@
450422
"OnMode",
451423
"FeatureMap"
452424
],
453-
"RVC Clean Mode": [
454-
"SupportedModes",
455-
"CurrentMode",
456-
"FeatureMap"
457-
],
458-
"RVC Run Mode": [
459-
"SupportedModes",
460-
"CurrentMode",
461-
"FeatureMap"
462-
],
425+
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
426+
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
463427
"Operational State": [
464428
"OperationalState",
465429
"OperationalError",
@@ -636,13 +600,8 @@
636600
"LevelValue",
637601
"FeatureMap"
638602
],
639-
"Air Quality": [
640-
"AirQuality",
641-
"FeatureMap"
642-
],
643-
"Thermostat": [
644-
"QueuedPreset"
645-
],
603+
"Air Quality": ["AirQuality", "FeatureMap"],
604+
"Thermostat": ["QueuedPreset"],
646605
"Electrical Energy Measurement": [
647606
"Accuracy",
648607
"CumulativeEnergyImported",
@@ -674,28 +633,13 @@
674633
"NeutralCurrent",
675634
"FeatureMap"
676635
],
677-
"Power Topology": [
678-
"FeatureMap"
679-
],
680-
"Valve Configuration and Control": [
681-
"RemainingDuration"
682-
],
683-
"Boolean State Configuration": [
684-
"CurrentSensitivityLevel"
685-
],
686-
"Wi-Fi Network Management": [
687-
"SSID"
688-
]
636+
"Power Topology": ["FeatureMap"],
637+
"Valve Configuration and Control": ["RemainingDuration"],
638+
"Boolean State Configuration": ["CurrentSensitivityLevel"],
639+
"Wi-Fi Network Management": ["SSID"]
689640
},
690641
"defaultReportingPolicy": "mandatory",
691-
"ZCLDataTypes": [
692-
"ARRAY",
693-
"BITMAP",
694-
"ENUM",
695-
"NUMBER",
696-
"STRING",
697-
"STRUCT"
698-
],
642+
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
699643
"fabricHandling": {
700644
"automaticallyCreateFields": true,
701645
"indexFieldId": 254,

0 commit comments

Comments
 (0)