From 2315019b2bd95450c8ecbd0f60decb72bd21f3ae Mon Sep 17 00:00:00 2001 From: ap-whirlpool <143529777+ap-whirlpool@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:54:41 -0800 Subject: [PATCH] Cooktop device (#30668) * 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 <36728913+OmAmbalkar@users.noreply.github.com> --- .../zcl/data-model/chip/matter-devices.xml | 15 +++++++++++++++ .../CHIP/zap-generated/MTRDeviceTypeMetadata.mm | 1 + 2 files changed, 16 insertions(+) diff --git a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml index 7322e116444776..0ff328693284ee 100644 --- a/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml +++ b/src/app/zap-templates/zcl/data-model/chip/matter-devices.xml @@ -2275,4 +2275,19 @@ limitations under the License. + + Cooktop + CHIP + Matter Cooktop + Simple + 0x0103 + 0x0078 + + + + + + + + diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRDeviceTypeMetadata.mm b/src/darwin/Framework/CHIP/zap-generated/MTRDeviceTypeMetadata.mm index 09ce06a311f23e..f5a0ab7c43accb 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRDeviceTypeMetadata.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRDeviceTypeMetadata.mm @@ -64,6 +64,7 @@ { 0x00000074, DeviceTypeClass::Simple, "Matter Robotic Vacuum Cleaner" }, { 0x00000075, DeviceTypeClass::Simple, "Matter Dishwasher" }, { 0x00000076, DeviceTypeClass::Simple, "Matter Smoke CO Alarm" }, + { 0x00000078, DeviceTypeClass::Simple, "Matter Cooktop" }, { 0x0000007C, DeviceTypeClass::Simple, "Matter Laundry Dryer" }, { 0x00000100, DeviceTypeClass::Simple, "Matter On/Off Light" }, { 0x00000101, DeviceTypeClass::Simple, "Matter Dimmable Light" },