Skip to content

Commit

Permalink
Run zap_convert_all.py.
Browse files Browse the repository at this point in the history
We have some .zap files that were added using the old format, and we did not update
.zap files when apiMaturity was added.
  • Loading branch information
bzbarsky-apple committed Oct 23, 2023
1 parent d870e8c commit 9af57b2
Show file tree
Hide file tree
Showing 26 changed files with 4,170 additions and 28,213 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5845,6 +5845,5 @@
"endpointId": 1,
"networkId": 0
}
],
"log": []
]
}
21 changes: 13 additions & 8 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
}
],
"package": [
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl-with-test-extensions.json",
"type": "zcl-properties",
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data with some extensions"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
}
],
"endpointTypes": [
Expand Down Expand Up @@ -6136,6 +6136,7 @@
"define": "FAULT_INJECTION_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "internal",
"commands": [
{
"name": "FailAtFault",
Expand Down Expand Up @@ -6641,6 +6642,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down Expand Up @@ -13698,6 +13700,7 @@
"define": "FAN_CONTROL_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "Step",
Expand Down Expand Up @@ -15060,6 +15063,7 @@
"define": "BALLAST_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"attributes": [
{
"name": "PhysicalMinLevel",
Expand Down Expand Up @@ -18982,6 +18986,7 @@
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "internal",
"commands": [
{
"name": "Test",
Expand Down Expand Up @@ -20943,6 +20948,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down Expand Up @@ -22465,6 +22471,5 @@
"endpointId": 65534,
"networkId": 0
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
}
],
"package": [
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/zcl/zcl.json",
"type": "zcl-properties",
"category": "matter",
"version": 1,
"description": "Matter SDK ZCL data"
},
{
"pathRelativity": "relativeToZap",
"path": "../../../src/app/zap-templates/app-templates.json",
"type": "gen-templates-json",
"version": "chip-v1"
}
],
"endpointTypes": [
Expand Down Expand Up @@ -4493,6 +4493,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down Expand Up @@ -6950,6 +6951,7 @@
"define": "FAN_CONTROL_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"attributes": [
{
"name": "FanMode",
Expand Down Expand Up @@ -7252,6 +7254,7 @@
"define": "BALLAST_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"attributes": [
{
"name": "PhysicalMinLevel",
Expand Down Expand Up @@ -8844,6 +8847,7 @@
"define": "UNIT_TESTING_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "internal",
"commands": [
{
"name": "Test",
Expand Down Expand Up @@ -10789,6 +10793,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down
3 changes: 1 addition & 2 deletions examples/bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -5705,6 +5705,5 @@
"endpointId": 2,
"networkId": 0
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4779,6 +4779,5 @@
"endpointId": 1,
"networkId": 0
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2776,6 +2776,7 @@
"define": "FAN_CONTROL_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"attributes": [
{
"name": "FanMode",
Expand Down
1 change: 1 addition & 0 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2949,6 +2949,7 @@
"define": "FAN_CONTROL_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"attributes": [
{
"name": "FanMode",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3377,6 +3377,7 @@
"define": "FAN_CONTROL_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"attributes": [
{
"name": "FanMode",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3035,6 +3035,5 @@
"endpointId": 1,
"networkId": 0
}
],
"log": []
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2812,6 +2812,7 @@
"define": "FAN_CONTROL_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"attributes": [
{
"name": "FanMode",
Expand Down
1 change: 1 addition & 0 deletions examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.zap
Original file line number Diff line number Diff line change
Expand Up @@ -3499,6 +3499,7 @@
"define": "FAN_CONTROL_CLUSTER",
"side": "client",
"enabled": 1,
"apiMaturity": "provisional",
"attributes": [
{
"name": "FeatureMap",
Expand Down
1 change: 1 addition & 0 deletions examples/chef/devices/template.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2234,6 +2234,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4839,6 +4839,7 @@
"define": "SCENES_CLUSTER",
"side": "client",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down
3 changes: 2 additions & 1 deletion examples/lighting-app/lighting-common/lighting-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4384,6 +4384,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down Expand Up @@ -5976,4 +5977,4 @@
"networkId": 0
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3900,6 +3900,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down Expand Up @@ -5916,4 +5917,4 @@
"networkId": 0
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3100,6 +3100,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down Expand Up @@ -5092,4 +5093,4 @@
"networkId": 0
}
]
}
}
1 change: 1 addition & 0 deletions examples/placeholder/linux/apps/app1/config.zap
Original file line number Diff line number Diff line change
Expand Up @@ -11785,6 +11785,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down
1 change: 1 addition & 0 deletions examples/placeholder/linux/apps/app2/config.zap
Original file line number Diff line number Diff line change
Expand Up @@ -11867,6 +11867,7 @@
"define": "SCENES_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"commands": [
{
"name": "AddScene",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5157,6 +5157,7 @@
"define": "FAN_CONTROL_CLUSTER",
"side": "server",
"enabled": 1,
"apiMaturity": "provisional",
"attributes": [
{
"name": "FanMode",
Expand Down
3 changes: 1 addition & 2 deletions examples/rvc-app/rvc-common/rvc-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2783,6 +2783,5 @@
"endpointId": 1,
"networkId": 0
}
],
"log": []
]
}
Loading

0 comments on commit 9af57b2

Please sign in to comment.