Skip to content

Commit

Permalink
Cooktop device (#30668)
Browse files Browse the repository at this point in the history
* Add new cooktop device as a new matter device.

* Generated zap-regen-all.py

* Change matter device typename to Matter Cooktop.

* Use Simple class and make Identify and On/Off server requirements.
Also, remove already mandatory attrs for On/Off cluster based of PR feedback.

* Update regarding PR comments

* Regen zap after the PR comments

* Remove redundant attributes for Descriptor cluster.

---------

Co-authored-by: OmAmbalkar <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jul 14, 2024
1 parent 9014e2e commit 2315019
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2275,4 +2275,19 @@ limitations under the License.
</include>
</clusters>
</deviceType>
<deviceType>
<name>Cooktop</name>
<domain>CHIP</domain>
<typeName>Matter Cooktop</typeName>
<class>Simple</class>
<profileId editable="false">0x0103</profileId>
<deviceId editable="false">0x0078</deviceId>
<clusters lockOthers="true">
<include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true">
</include>
<include cluster="Identify" client="false" server="false" clientLocked="true" serverLocked="false"></include>
<include cluster="On/Off" client="false" server="true" clientLocked="true" serverLocked="true">
</include>
</clusters>
</deviceType>
</configurator>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2315019

Please sign in to comment.