Skip to content

Commit

Permalink
Restyled by prettier-json
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and tcarmelveilleux committed Jul 2, 2024
1 parent c8aa849 commit 815847f
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 156 deletions.
98 changes: 20 additions & 78 deletions src/app/zap-templates/zcl/zcl-with-test-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,9 @@
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
"options": {
"text": {
"defaultResponsePolicy": [
"Always",
"Conditional",
"Never"
]
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
},
"bool": [
"commandDiscovery"
]
"bool": ["commandDiscovery"]
},
"defaults": {
"text": {
Expand Down Expand Up @@ -195,13 +189,8 @@
"SpecificationVersion",
"MaxPathsPerInvoke"
],
"Bridged Device Basic Information": [
"ProductAppearance"
],
"Descriptor": [
"ClusterRevision",
"FeatureMap"
],
"Bridged Device Basic Information": ["ProductAppearance"],
"Descriptor": ["ClusterRevision", "FeatureMap"],
"Device Energy Management": [
"ESAType",
"ESACanGenerate",
Expand Down Expand Up @@ -244,11 +233,7 @@
"SessionEnergyDischarged",
"FeatureMap"
],
"Energy EVSE Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Ethernet Network Diagnostics": [
"PHYRate",
"FullDuplex",
Expand Down Expand Up @@ -292,9 +277,7 @@
"ICDCounter",
"ClientsSupportedPerFabric"
],
"Occupancy Sensing": [
"HoldTimeLimits"
],
"Occupancy Sensing": ["HoldTimeLimits"],
"Operational Credentials": [
"SupportedFabrics",
"CommissionedFabrics",
Expand Down Expand Up @@ -390,21 +373,14 @@
"CurrentMaxRate",
"OverrunCount"
],
"Channel": [
"Lineup",
"CurrentChannel"
],
"Channel": ["Lineup", "CurrentChannel"],
"Media Playback": [
"SampledPosition",
"ActiveAudioTrack",
"ActiveTextTrack"
],
"Application Launcher": [
"CurrentApp"
],
"Application Basic": [
"Application"
],
"Application Launcher": ["CurrentApp"],
"Application Basic": ["Application"],
"Time Synchronization": [
"TrustedTimeSource",
"DefaultNTP",
Expand All @@ -416,21 +392,15 @@
"TimeZoneListMaxSize",
"DSTOffsetListMaxSize"
],
"Temperature Control": [
"SupportedTemperatureLevels"
],
"Temperature Control": ["SupportedTemperatureLevels"],
"Dishwasher Mode": [
"SupportedModes",
"CurrentMode",
"StartUpMode",
"OnMode",
"FeatureMap"
],
"Microwave Oven Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Microwave Oven Control": [
"CookTime",
"MaxCookTime",
Expand All @@ -457,16 +427,8 @@
"OnMode",
"FeatureMap"
],
"RVC Clean Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"RVC Run Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Operational State": [
"OperationalState",
"OperationalError",
Expand Down Expand Up @@ -643,13 +605,8 @@
"LevelValue",
"FeatureMap"
],
"Air Quality": [
"AirQuality",
"FeatureMap"
],
"Thermostat": [
"QueuedPreset"
],
"Air Quality": ["AirQuality", "FeatureMap"],
"Thermostat": ["QueuedPreset"],
"Electrical Energy Measurement": [
"Accuracy",
"CumulativeEnergyImported",
Expand Down Expand Up @@ -681,28 +638,13 @@
"NeutralCurrent",
"FeatureMap"
],
"Power Topology": [
"FeatureMap"
],
"Valve Configuration and Control": [
"RemainingDuration"
],
"Boolean State Configuration": [
"CurrentSensitivityLevel"
],
"Wi-Fi Network Management": [
"SSID"
]
"Power Topology": ["FeatureMap"],
"Valve Configuration and Control": ["RemainingDuration"],
"Boolean State Configuration": ["CurrentSensitivityLevel"],
"Wi-Fi Network Management": ["SSID"]
},
"defaultReportingPolicy": "mandatory",
"ZCLDataTypes": [
"ARRAY",
"BITMAP",
"ENUM",
"NUMBER",
"STRING",
"STRUCT"
],
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
"fabricHandling": {
"automaticallyCreateFields": true,
"indexFieldId": 254,
Expand Down
98 changes: 20 additions & 78 deletions src/app/zap-templates/zcl/zcl.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,9 @@
"manufacturersXml": "../../../../src/app/zap-templates/zcl/data-model/manufacturers.xml",
"options": {
"text": {
"defaultResponsePolicy": [
"Always",
"Conditional",
"Never"
]
"defaultResponsePolicy": ["Always", "Conditional", "Never"]
},
"bool": [
"commandDiscovery"
]
"bool": ["commandDiscovery"]
},
"defaults": {
"text": {
Expand Down Expand Up @@ -193,13 +187,8 @@
"SpecificationVersion",
"MaxPathsPerInvoke"
],
"Bridged Device Basic Information": [
"ProductAppearance"
],
"Descriptor": [
"ClusterRevision",
"FeatureMap"
],
"Bridged Device Basic Information": ["ProductAppearance"],
"Descriptor": ["ClusterRevision", "FeatureMap"],
"Device Energy Management": [
"ESAType",
"ESACanGenerate",
Expand Down Expand Up @@ -242,11 +231,7 @@
"SessionEnergyDischarged",
"FeatureMap"
],
"Energy EVSE Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Ethernet Network Diagnostics": [
"PHYRate",
"FullDuplex",
Expand Down Expand Up @@ -290,9 +275,7 @@
"ICDCounter",
"ClientsSupportedPerFabric"
],
"Occupancy Sensing": [
"HoldTimeLimits"
],
"Occupancy Sensing": ["HoldTimeLimits"],
"Operational Credentials": [
"SupportedFabrics",
"CommissionedFabrics",
Expand Down Expand Up @@ -388,21 +371,14 @@
"CurrentMaxRate",
"OverrunCount"
],
"Channel": [
"Lineup",
"CurrentChannel"
],
"Channel": ["Lineup", "CurrentChannel"],
"Media Playback": [
"SampledPosition",
"ActiveAudioTrack",
"ActiveTextTrack"
],
"Application Launcher": [
"CurrentApp"
],
"Application Basic": [
"Application"
],
"Application Launcher": ["CurrentApp"],
"Application Basic": ["Application"],
"Time Synchronization": [
"TrustedTimeSource",
"DefaultNTP",
Expand All @@ -414,21 +390,15 @@
"TimeZoneListMaxSize",
"DSTOffsetListMaxSize"
],
"Temperature Control": [
"SupportedTemperatureLevels"
],
"Temperature Control": ["SupportedTemperatureLevels"],
"Dishwasher Mode": [
"SupportedModes",
"CurrentMode",
"StartUpMode",
"OnMode",
"FeatureMap"
],
"Microwave Oven Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Microwave Oven Control": [
"CookTime",
"MaxCookTime",
Expand All @@ -455,16 +425,8 @@
"OnMode",
"FeatureMap"
],
"RVC Clean Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"RVC Run Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"RVC Clean Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"RVC Run Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Operational State": [
"OperationalState",
"OperationalError",
Expand Down Expand Up @@ -641,13 +603,8 @@
"LevelValue",
"FeatureMap"
],
"Air Quality": [
"AirQuality",
"FeatureMap"
],
"Thermostat": [
"QueuedPreset"
],
"Air Quality": ["AirQuality", "FeatureMap"],
"Thermostat": ["QueuedPreset"],
"Electrical Energy Measurement": [
"Accuracy",
"CumulativeEnergyImported",
Expand Down Expand Up @@ -679,28 +636,13 @@
"NeutralCurrent",
"FeatureMap"
],
"Power Topology": [
"FeatureMap"
],
"Valve Configuration and Control": [
"RemainingDuration"
],
"Boolean State Configuration": [
"CurrentSensitivityLevel"
],
"Wi-Fi Network Management": [
"SSID"
]
"Power Topology": ["FeatureMap"],
"Valve Configuration and Control": ["RemainingDuration"],
"Boolean State Configuration": ["CurrentSensitivityLevel"],
"Wi-Fi Network Management": ["SSID"]
},
"defaultReportingPolicy": "mandatory",
"ZCLDataTypes": [
"ARRAY",
"BITMAP",
"ENUM",
"NUMBER",
"STRING",
"STRUCT"
],
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
"fabricHandling": {
"automaticallyCreateFields": true,
"indexFieldId": 254,
Expand Down

0 comments on commit 815847f

Please sign in to comment.