-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add microwave oven control cluster xml (#30044)
* add microwave oven control cluster * Restyled by prettier-json * commit new generated files * updated for the MicrowaveOvenControl Cluster xml related files * Updated for the relative files of MicrowaveOvenControl cluster * fix zcl.json for MicrowaveOvenControl cluster * regen relative files * fix MicrowaveOvenControl environment problem --------- Co-authored-by: mideayanghui <[email protected]> Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
1 parent
d1d09a9
commit 5218c3b
Showing
48 changed files
with
4,877 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
src/app/zap-templates/zcl/data-model/chip/microwave-oven-control-cluster.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2023 Project CHIP Authors | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<configurator> | ||
<domain name="CHIP"/> | ||
|
||
<cluster apiMaturity="provisional"> | ||
<name>Microwave Oven Control</name> | ||
<domain>Appliances</domain> | ||
<description>Attributes and commands for configuring the microwave oven control, and reporting cooking stats.</description> | ||
<code>0x005F</code> | ||
<define>MICROWAVE_OVEN_CONTROL_CLUSTER</define> | ||
<client tick="false" init="false">true</client> | ||
<server tick="false" init="false">true</server> | ||
<attribute side="server" code="0x0001" define="COOK_TIME" type="elapsed_s" default="30" writable="false" optional="false">CookTime</attribute> | ||
<attribute side="server" code="0x0002" define="POWER_SETTING" type="int8u" default="100" writable="false" optional="false">PowerSetting</attribute> | ||
<attribute side="server" code="0x0003" define="MIN_POWER" type="int8u" default="10" writable="false" optional="true">MinPower</attribute> | ||
<attribute side="server" code="0x0004" define="MAX_POWER" type="int8u" default="100" writable="false" optional="true">MaxPower</attribute> | ||
<attribute side="server" code="0x0005" define="POWERSTEP" type="int8u" default="10" writable="false" optional="true">PowerStep</attribute> | ||
|
||
<command source="client" code="0x00" name="SetCookingParameters" optional="false"> | ||
<description>Set Cooking Parameters</description> | ||
<arg name="CookMode" type="int8u" optional="true"/> | ||
<arg name="CookTime" type="elapsed_s" optional="true"/> | ||
<arg name="PowerSetting" type="int8u" min="MIN_POWER" max="MAX_POWER" optional="true"/> | ||
</command> | ||
<command source="client" code="0x01" name="AddMoreTime" optional="true"> | ||
<description>Add More Cooking Time</description> | ||
<arg name="TimeToAdd" type="elapsed_s" optional="false"/> | ||
</command> | ||
</cluster> | ||
</configurator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.