Skip to content

Commit

Permalink
Add missing Humidity sensor device type definition and fix typo in Co…
Browse files Browse the repository at this point in the history
…ntact sensor definition (#12720)

* fix wrong device type name

* Added Humidity sensor device type definition

* Some strange autogen diff

* Fixed strange autogen diff using clang-format v9
  • Loading branch information
fessehaeve authored and pull[bot] committed Mar 31, 2022
1 parent 8f1d9bf commit 1424952
Showing 1 changed file with 40 additions and 1 deletion.
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

0 comments on commit 1424952

Please sign in to comment.