Skip to content

Commit

Permalink
Update device type features in ZAP template XML (#35267)
Browse files Browse the repository at this point in the history
* update device type features

- correct the names and codes of all device type features

- add the missing device type features compared to the latest version of XML

* correct serverLocked to false
  • Loading branch information
ethanzhouyc authored and pull[bot] committed Oct 4, 2024
1 parent 75eabac commit 2659090
Showing 1 changed file with 53 additions and 47 deletions.
100 changes: 53 additions & 47 deletions src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ limitations under the License.
<include cluster="Thread Network Diagnostics" client="false" server="false" clientLocked="true" serverLocked="false"></include>
<include cluster="ICD Management" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="LITS">
<feature code="LITS" name="LongIdleTimeSupport">
<otherwiseConform>
<provisionalConform/>
<mandatoryConform>
Expand Down Expand Up @@ -265,7 +265,7 @@ limitations under the License.
</include>
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -283,10 +283,10 @@ limitations under the License.
</include>
<include cluster="Level Control" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="OO">
<feature code="OO" name="OnOff">
<mandatoryConform/>
</feature>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand Down Expand Up @@ -366,7 +366,7 @@ limitations under the License.
</include>
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -384,10 +384,10 @@ limitations under the License.
</include>
<include cluster="Level Control" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
<feature code="" name="OO">
<feature code="OO" name="OnOff">
<mandatoryConform/>
</feature>
</features>
Expand Down Expand Up @@ -464,7 +464,7 @@ limitations under the License.
</include>
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -482,10 +482,10 @@ limitations under the License.
</include>
<include cluster="Level Control" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="OO">
<feature code="OO" name="OnOff">
<mandatoryConform/>
</feature>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -506,7 +506,7 @@ limitations under the License.
</include>
<include cluster="Color Control" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="CT">
<feature code="CT" name="ColorTemperature">
<mandatoryConform/>
</feature>
</features>
Expand Down Expand Up @@ -581,7 +581,7 @@ limitations under the License.
</include>
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -599,10 +599,10 @@ limitations under the License.
</include>
<include cluster="Level Control" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="OO">
<feature code="OO" name="OnOff">
<mandatoryConform/>
</feature>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -623,19 +623,19 @@ limitations under the License.
</include>
<include cluster="Color Control" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="HS">
<feature code="HS" name="HueSaturation">
<optionalConform/>
</feature>
<feature code="" name="EHUE">
<feature code="EHUE" name="EnhancedHue">
<optionalConform/>
</feature>
<feature code="" name="CL">
<feature code="CL" name="ColorLoop">
<optionalConform/>
</feature>
<feature code="" name="XY">
<feature code="XY" name="XY">
<mandatoryConform/>
</feature>
<feature code="" name="CT">
<feature code="CT" name="ColorTemperature">
<mandatoryConform/>
</feature>
</features>
Expand Down Expand Up @@ -714,7 +714,7 @@ limitations under the License.
</include>
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -732,10 +732,10 @@ limitations under the License.
</include>
<include cluster="Level Control" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="OO">
<feature code="OO" name="OnOff">
<mandatoryConform/>
</feature>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand Down Expand Up @@ -808,7 +808,7 @@ limitations under the License.
</include>
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -826,10 +826,10 @@ limitations under the License.
</include>
<include cluster="Level Control" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="OO">
<feature code="OO" name="OnOff">
<mandatoryConform/>
</feature>
<feature code="" name="LT">
<feature code="LT" name="Lighting">
<mandatoryConform/>
</feature>
</features>
Expand Down Expand Up @@ -1490,7 +1490,7 @@ limitations under the License.
</include>
<include cluster="Door Lock" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="USR">
<feature code="USR" name="User">
<mandatoryConform>
<andTerm>
<condition name="Matter"/>
Expand All @@ -1503,7 +1503,7 @@ limitations under the License.
</andTerm>
</mandatoryConform>
</feature>
<feature code="" name="RID">
<feature code="" name="RFIDCredential">
<otherwiseConform>
<provisionalConform/>
<optionalConform/>
Expand Down Expand Up @@ -1592,7 +1592,7 @@ limitations under the License.
</include>
<include cluster="Window Covering" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="Absolute">
<feature code="ABS" name="AbsolutePosition">
<mandatoryConform>
<condition name="Zigbee"/>
</mandatoryConform>
Expand Down Expand Up @@ -1629,7 +1629,7 @@ limitations under the License.
<include cluster="Groups" client="false" server="false" clientLocked="false" serverLocked="true"></include>
<include cluster="Window Covering" client="true" server="false" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="Absolute">
<feature code="ABS" name="AbsolutePosition">
<mandatoryConform>
<condition name="Zigbee"/>
</mandatoryConform>
Expand Down Expand Up @@ -1825,7 +1825,7 @@ limitations under the License.
<include cluster="Keypad Input" client="false" server="true" clientLocked="false" serverLocked="true"></include>
<include cluster="Application Launcher" client="false" server="true" clientLocked="false" serverLocked="false">
<features>
<feature code="" name="Application">
<feature code="AP" name="ApplicationPlatform">
<mandatoryConform/>
</feature>
</features>
Expand Down Expand Up @@ -1986,7 +1986,7 @@ limitations under the License.
<include cluster="Keypad Input" client="false" server="true" clientLocked="false" serverLocked="true"></include>
<include cluster="Application Launcher" client="false" server="true" clientLocked="false" serverLocked="true">
<features>
<feature code="" name="Application">
<feature code="AP" name="ApplicationPlatform">
<disallowConform/>
</feature>
</features>
Expand Down Expand Up @@ -2039,7 +2039,7 @@ limitations under the License.
</include>
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="DF">
<feature code="DF" name="DeadFrontBehavior">
<mandatoryConform/>
</feature>
</features>
Expand Down Expand Up @@ -2144,7 +2144,7 @@ limitations under the License.
<include cluster="Identify" client="false" server="false" clientLocked="true" serverLocked="false"></include>
<include cluster="On/Off" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="DF">
<feature code="DF" name="DeadFrontBehavior">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -2153,7 +2153,7 @@ limitations under the License.
<include cluster="Temperature Control" client="false" server="false" clientLocked="true" serverLocked="false"></include>
<include cluster="Dishwasher Mode" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="OnOff">
<feature code="OO" name="OnOff">
<disallowConform/>
</feature>
</features>
Expand Down Expand Up @@ -2188,10 +2188,10 @@ limitations under the License.
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true"></include>
<include cluster="Fan Control" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="Wind">
<feature code="WND" name="Wind">
<disallowConform/>
</feature>
<feature code="" name="AirflowDirection">
<feature code="DIR" name="AirflowDirection">
<disallowConform/>
</feature>
</features>
Expand Down Expand Up @@ -2220,7 +2220,7 @@ limitations under the License.
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true"></include>
<include cluster="Refrigerator And Temperature Controlled Cabinet Mode" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="OnOff">
<feature code="OO" name="OnOff">
<disallowConform/>
</feature>
</features>
Expand All @@ -2241,14 +2241,14 @@ limitations under the License.
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true"></include>
<include cluster="On/Off" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="DF">
<feature code="DF" name="DeadFrontBehavior">
<mandatoryConform/>
</feature>
</features>
</include>
<include cluster="Laundry Washer Mode" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="OnOff">
<feature code="OO" name="OnOff">
<disallowConform/>
</feature>
</features>
Expand All @@ -2271,7 +2271,7 @@ limitations under the License.
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true"></include>
<include cluster="On/Off" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="DF">
<feature code="DF" name="DeadFrontBehavior">
<mandatoryConform/>
</feature>
</features>
Expand Down Expand Up @@ -2303,13 +2303,13 @@ limitations under the License.
<include cluster="Activated Carbon Filter Monitoring" client="false" server="false" clientLocked="true" serverLocked="false"></include>
<include cluster="Fan Control" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="Rocking">
<feature code="RCK" name="Rocking">
<disallowConform/>
</feature>
<feature code="" name="Wind">
<feature code="WND" name="Wind">
<disallowConform/>
</feature>
<feature code="" name="AirflowDirection">
<feature code="DIR" name="AirflowDirection">
<disallowConform/>
</feature>
</features>
Expand Down Expand Up @@ -2348,14 +2348,14 @@ limitations under the License.
<include cluster="Temperature Measurement" client="false" server="false" clientLocked="true" serverLocked="false"></include>
<include cluster="Refrigerator And Temperature Controlled Cabinet Mode" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="OnOff">
<feature code="OO" name="OnOff">
<disallowConform/>
</feature>
</features>
</include>
<include cluster="Oven Mode" client="false" server="false" clientLocked="true" serverLocked="false">
<features>
<feature code="" name="OnOff">
<feature code="OO" name="OnOff">
<disallowConform/>
</feature>
</features>
Expand Down Expand Up @@ -2647,7 +2647,7 @@ limitations under the License.
<include cluster="Identify" client="false" server="false" clientLocked="true" serverLocked="false"></include>
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="true">
<features>
<feature code="" name="OFFONLY">
<feature code="OFFONLY" name="OffOnly">
<mandatoryConform/>
</feature>
</features>
Expand All @@ -2662,8 +2662,14 @@ limitations under the License.
<profileId editable="false">0x0103</profileId>
<deviceId editable="false">0x0077</deviceId>
<clusters lockOthers="true">
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true">
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="false">
<features>
<feature code="OFFONLY" name="OffOnly">
<mandatoryConform/>
</feature>
</features>
</include>
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true"></include>
<include cluster="Temperature Control" client="false" server="true" clientLocked="true" serverLocked="false"></include>
<include cluster="Temperature Measurement" client="false" server="false" clientLocked="true" serverLocked="false"></include>
</clusters>
Expand Down

0 comments on commit 2659090

Please sign in to comment.