Skip to content

Commit

Permalink
Remove all un-specified draft clusters from SDK (#35583)
Browse files Browse the repository at this point in the history
* Start removing Binary Input

* Remove Binary Input Basic cluster (not in spec)

* Remove the rest of draft clusters

* Remove leftover bits

* Restyled by prettier-json

* Restyled by prettier-markdown

* Run zap_convert_all

* Regen ZAP

* Fix build

* Kick restyle

* remove dead file

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
tcarmelveilleux and restyled-commits authored Sep 17, 2024
1 parent 669c200 commit 44024ca
Show file tree
Hide file tree
Showing 152 changed files with 1,093 additions and 60,683 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ jobs:
src/app/zap-templates/zcl/data-model/chip/window-covering.xml \
src/app/zap-templates/zcl/data-model/chip/temperature-control-cluster.xml \
src/app/zap-templates/zcl/data-model/chip/matter-devices.xml \
src/app/zap-templates/zcl/data-model/draft/barrier-control-cluster.xml \
src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml \
src/app/zap-templates/zcl/data-model/draft/input-output-value-clusters.xml \
src/app/zap-templates/zcl/data-model/draft/onoff-switch-configuration-cluster.xml \
src/app/zap-templates/zcl/data-model/chip/resource-monitoring-cluster.xml \
src/app/zap-templates/zcl/data-model/chip/sample-mei-cluster.xml \
src/app/zap-templates/zcl/data-model/chip/electrical-energy-measurement-cluster.xml \
Expand Down
4 changes: 0 additions & 4 deletions docs/zap_clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ Generally regenerate using one of:
| 3 | 0x03 | Identify |
| 4 | 0x04 | Groups |
| 6 | 0x06 | OnOff |
| 7 | 0x07 | OnOffSwitchConfiguration |
| 8 | 0x08 | LevelControl |
| 15 | 0x0F | BinaryInputBasic |
| 28 | 0x1C | PulseWidthModulation |
| 29 | 0x1D | Descriptor |
| 30 | 0x1E | Binding |
Expand Down Expand Up @@ -91,7 +89,6 @@ Generally regenerate using one of:
| 159 | 0x9F | DeviceEnergyManagementMode |
| 257 | 0x101 | DoorLock |
| 258 | 0x102 | WindowCovering |
| 259 | 0x103 | BarrierControl |
| 336 | 0x150 | ServiceArea |
| 512 | 0x200 | PumpConfigurationAndControl |
| 513 | 0x201 | Thermostat |
Expand Down Expand Up @@ -134,7 +131,6 @@ Generally regenerate using one of:
| 1296 | 0x510 | ContentAppObserver |
| 1872 | 0x750 | EcosystemInformation |
| 1873 | 0x751 | CommissionerControl |
| 2820 | 0xB04 | ElectricalMeasurement |
| 4294048773 | 0xFFF1FC05 | UnitTesting |
| 4294048774 | 0xFFF1FC06 | FaultInjection |
| 4294048800 | 0xFFF1FC20 | SampleMei |
18 changes: 0 additions & 18 deletions examples/air-purifier-app/air-purifier-common/air-purifier-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -770,24 +770,6 @@
"isIncoming": 0,
"isEnabled": 1
}
],
"attributes": [
{
"name": "ClusterRevision",
"code": 65533,
"mfgCode": null,
"side": "client",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x0001",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
}
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -770,24 +770,6 @@
"isIncoming": 0,
"isEnabled": 1
}
],
"attributes": [
{
"name": "ClusterRevision",
"code": 65533,
"mfgCode": null,
"side": "client",
"type": "int16u",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
"reportableChange": 0
}
]
},
{
Expand Down
Loading

0 comments on commit 44024ca

Please sign in to comment.