Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing Humidity sensor device type definition and fix typo in Contact sensor definition #12720

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 40 additions & 1 deletion src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@ limitations under the License.
</clusters>
</deviceType>
<deviceType>
<name>MA-comtactsensor</name>
<name>MA-contactsensor</name>
<domain>CHIP</domain>
<typeName>Matter Contact Sensor</typeName>
<profileId editable="false">0x0103</profileId>
Expand Down Expand Up @@ -1530,6 +1530,45 @@ limitations under the License.
<include cluster="Flow Measurement" client="false" server="true" clientLocked="true" serverLocked="true"></include>
</clusters>
</deviceType>
<deviceType>
<name>MA-humiditysensor</name>
<domain>CHIP</domain>
<typeName>Matter Humidity Sensor</typeName>
<profileId editable="false">0x0103</profileId>
<deviceId editable="false">0x0307</deviceId>
<clusters lockOthers="true">
<include cluster="Identify" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>IDENTIFY_TIME</requireAttribute>
<requireAttribute>IDENTIFY_TYPE</requireAttribute>
<requireCommand>Identify</requireCommand>
<requireCommand>IdentifyQuery</requireCommand>
<requireCommand>TriggerEffect</requireCommand>
</include>
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>DEVICE_TYPE_LIST</requireAttribute>
<requireAttribute>SERVER_LIST</requireAttribute>
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="true" server="false" clientLocked="false" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>GROUP_NAME_SUPPORT</requireAttribute>
<requireCommand>AddGroup</requireCommand>
<requireCommand>AddGroupResponse</requireCommand>
<requireCommand>ViewGroup</requireCommand>
<requireCommand>ViewGroupResponse</requireCommand>
<requireCommand>GetGroupMembership</requireCommand>
<requireCommand>GetGroupMembershipResponse</requireCommand>
<requireCommand>RemoveGroup</requireCommand>
<requireCommand>RemoveGroupResponse</requireCommand>
<requireCommand>RemoveAllGroups</requireCommand>
<requireCommand>AddGroupIfIdentifying</requireCommand>
</include>
<include cluster="Relative Humidity Measurement" client="false" server="true" clientLocked="true" serverLocked="true"></include>
</clusters>
</deviceType>
<deviceType>
<name>MA-onoffsensor</name>
<domain>CHIP</domain>
Expand Down