Skip to content

Commit

Permalink
Generated using ./alchemy zap --attribute="in-progress" ... ZoneManag…
Browse files Browse the repository at this point in the history
…ement.adoc
  • Loading branch information
gmarcosb committed Oct 8, 2024
1 parent 7c68210 commit f94cd67
Show file tree
Hide file tree
Showing 5 changed files with 465 additions and 137 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ jobs:
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 \
src/app/zap-templates/zcl/data-model/chip/electrical-power-measurement-cluster.xml \
src/app/zap-templates/zcl/data-model/chip/zone-management-cluster.xml \
"
- name: Build Apps
run: |
Expand Down
1 change: 1 addition & 0 deletions scripts/rules.matterlint
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ load "../src/app/zap-templates/zcl/data-model/chip/resource-monitoring-cluster.x
load "../src/app/zap-templates/zcl/data-model/chip/sample-mei-cluster.xml";
load "../src/app/zap-templates/zcl/data-model/chip/electrical-energy-measurement-cluster.xml";
load "../src/app/zap-templates/zcl/data-model/chip/electrical-power-measurement-cluster.xml";
load "../src/app/zap-templates/zcl/data-model/chip/zone-management-cluster.xml";

all endpoints {
// These attributes follow a different code path and do not have to be
Expand Down
126 changes: 101 additions & 25 deletions src/app/zap-templates/zcl/zcl-with-test-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,21 @@
"sample-mei-cluster.xml",
"types/door-lock.xml",
"types/occupancy-sensing.xml",
"types/thermostat-user-interface-configuration.xml"
"types/thermostat-user-interface-configuration.xml",
"zone-management-cluster.xml"
],
"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,8 +200,13 @@
"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 @@ -246,7 +258,11 @@
"SessionEnergyDischarged",
"FeatureMap"
],
"Energy EVSE Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Energy EVSE Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"Ethernet Network Diagnostics": [
"PHYRate",
"FullDuplex",
Expand Down Expand Up @@ -290,7 +306,11 @@
"ICDCounter",
"ClientsSupportedPerFabric"
],
"Occupancy Sensing": ["HoldTimeLimits", "HoldTime", "FeatureMap"],
"Occupancy Sensing": [
"HoldTimeLimits",
"HoldTime",
"FeatureMap"
],
"Operational Credentials": [
"SupportedFabrics",
"CommissionedFabrics",
Expand Down Expand Up @@ -397,14 +417,21 @@
"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,9 +443,19 @@
"TimeZoneListMaxSize",
"DSTOffsetListMaxSize"
],
"Temperature Control": ["SupportedTemperatureLevels"],
"Dishwasher Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Microwave Oven Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Temperature Control": [
"SupportedTemperatureLevels"
],
"Dishwasher Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"Microwave Oven Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"Microwave Oven Control": [
"CookTime",
"MaxCookTime",
Expand All @@ -431,14 +468,26 @@
"WattRating",
"FeatureMap"
],
"Laundry Washer Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Laundry Washer Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"Refrigerator And Temperature Controlled Cabinet Mode": [
"SupportedModes",
"CurrentMode",
"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 @@ -615,7 +664,10 @@
"LevelValue",
"FeatureMap"
],
"Air Quality": ["AirQuality", "FeatureMap"],
"Air Quality": [
"AirQuality",
"FeatureMap"
],
"Electrical Energy Measurement": [
"Accuracy",
"CumulativeEnergyImported",
Expand Down Expand Up @@ -647,9 +699,15 @@
"NeutralCurrent",
"FeatureMap"
],
"Power Topology": ["FeatureMap"],
"Valve Configuration and Control": ["RemainingDuration"],
"Boolean State Configuration": ["CurrentSensitivityLevel"],
"Power Topology": [
"FeatureMap"
],
"Valve Configuration and Control": [
"RemainingDuration"
],
"Boolean State Configuration": [
"CurrentSensitivityLevel"
],
"Water Heater Management": [
"HeaterTypes",
"HeatDemand",
Expand All @@ -660,18 +718,36 @@
"FeatureMap",
"ClusterRevision"
],
"Water Heater Mode": ["SupportedModes", "CurrentMode", "FeatureMap"],
"Wi-Fi Network Management": ["SSID", "PassphraseSurrogate"],
"Water Heater Mode": [
"SupportedModes",
"CurrentMode",
"FeatureMap"
],
"Wi-Fi Network Management": [
"SSID",
"PassphraseSurrogate"
],
"Thread Network Directory": [
"PreferredExtendedPanID",
"ThreadNetworks",
"ThreadNetworkTableSize"
],
"Service Area": ["CurrentArea", "EstimatedEndTime", "FeatureMap"]
"Service Area": [
"CurrentArea",
"EstimatedEndTime",
"FeatureMap"
]
},
"mandatoryDeviceTypes": "0x0016",
"defaultReportingPolicy": "mandatory",
"ZCLDataTypes": ["ARRAY", "BITMAP", "ENUM", "NUMBER", "STRING", "STRUCT"],
"ZCLDataTypes": [
"ARRAY",
"BITMAP",
"ENUM",
"NUMBER",
"STRING",
"STRUCT"
],
"fabricHandling": {
"automaticallyCreateFields": true,
"indexFieldId": 254,
Expand All @@ -681,4 +757,4 @@
"uiOptions": {
"showProfileId": false
}
}
}
Loading

0 comments on commit f94cd67

Please sign in to comment.