-
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.
Move some types from silabs/types-silabs.xml to draft/types (#24899)
* Move some types from silabs/types-silabs.xml to draft/types * Update generated code
- Loading branch information
1 parent
addd22e
commit 1074034
Showing
8 changed files
with
183 additions
and
178 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
src/app/zap-templates/zcl/data-model/draft/EN50523-appliance-identification.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,34 @@ | ||
<!-- | ||
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> | ||
<enum name="ProductTypeId" type="ENUM16"> | ||
<item name="WhiteGoods" value="0x0000"/> | ||
<item name="Dishwasher" value="0x5601"/> | ||
<item name="TumbleDryer" value="0x5602"/> | ||
<item name="WasherDryer" value="0x5603"/> | ||
<item name="WashingMachine" value="0x5604"/> | ||
<item name="Hobs" value="0x5E03"/> | ||
<item name="InductionHobs" value="0x5E09"/> | ||
<item name="Oven" value="0x5E01"/> | ||
<item name="ElectricalOven" value="0x5E06"/> | ||
<item name="RefrigeratorFreezer" value="0x6601"/> | ||
</enum> | ||
|
||
<enum name="CecedSpecificationVersion" type="ENUM8"> | ||
<item name="CompliantWithV10NotCertified" value="0x10"/> | ||
<item name="CompliantWithV10Certified" value="0x1A"/> | ||
</enum> | ||
</configurator> |
33 changes: 33 additions & 0 deletions
33
src/app/zap-templates/zcl/data-model/draft/meter-identification.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,33 @@ | ||
<!-- | ||
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> | ||
<enum name="MeterTypeId" type="ENUM16"> | ||
<item name="UtilityPrimaryMeter" value="0x0000"/> | ||
<item name="UtilityProductionMeter" value="0x0001"/> | ||
<item name="UtilitySecondaryMeter" value="0x0002"/> | ||
<item name="PrivatePrimaryMeter" value="0x0100"/> | ||
<item name="PrivateProductionMeter" value="0x0101"/> | ||
<item name="PrivateSecondaryMeters" value="0x0102"/> | ||
<item name="GenericMeter" value="0x0110"/> | ||
</enum> | ||
|
||
<enum name="DataQualityId" type="ENUM16"> | ||
<item name="AllDataCertified" value="0x0000"/> | ||
<item name="OnlyInstantaneousPowerNotCertified" value="0x0001"/> | ||
<item name="OnlyCumulatedConsumptionNotCertified" value="0x0002"/> | ||
<item name="NotCertifiedData" value="0x0003"/> | ||
</enum> | ||
</configurator> |
31 changes: 31 additions & 0 deletions
31
src/app/zap-templates/zcl/data-model/draft/types/dehumidification-control.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,31 @@ | ||
<!-- | ||
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> | ||
<enum name="RelativeHumidityMode" type="ENUM8"> | ||
<item name="measureLocally" value="0x0"/> | ||
<item name="updatedOverTheNetwork" value="0x1"/> | ||
</enum> | ||
|
||
<enum name="DehumidifcationLockout" type="ENUM8"> | ||
<item name="notAllowed" value="0x0"/> | ||
<item name="allowed" value="0x1"/> | ||
</enum> | ||
|
||
<enum name="RelativeHumidityDisplay" type="ENUM8"> | ||
<item name="notDisplayed" value="0x0"/> | ||
<item name="displayed" value="0x1"/> | ||
</enum> | ||
</configurator> |
22 changes: 22 additions & 0 deletions
22
src/app/zap-templates/zcl/data-model/draft/types/illuminance-level-sensing.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,22 @@ | ||
<!-- | ||
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> | ||
<enum name="LevelStatus" type="ENUM8"> | ||
<item name="OnTarget" value="0x0"/> | ||
<item name="BelowTarget" value="0x1"/> | ||
<item name="AboveTarget" value="0x2"/> | ||
</enum> | ||
</configurator> |
28 changes: 28 additions & 0 deletions
28
src/app/zap-templates/zcl/data-model/draft/types/onoff-switch-configuration.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,28 @@ | ||
<!-- | ||
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> | ||
<enum name="SwitchType" type="ENUM8"> | ||
<item name="Toggle" value="0x00"/> | ||
<item name="Momentary" value="0x01"/> | ||
<item name="MultiFunction" value="0x02" introducedIn="ha-1.2-05-3520-29"/> | ||
</enum> | ||
|
||
<enum name="SwitchActions" type="ENUM8"> | ||
<item name="On" value="0x0"/> | ||
<item name="Off" value="0x1"/> | ||
<item name="Toggle" value="0x2"/> | ||
</enum> | ||
</configurator> |
35 changes: 35 additions & 0 deletions
35
src/app/zap-templates/zcl/data-model/draft/types/power-profile.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,35 @@ | ||
<!-- | ||
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> | ||
<enum name="LevelStatus" type="ENUM8"> | ||
<enum name="PowerProfileState" type="ENUM8"> | ||
<item name="PowerProfileWaitingToStart" value="0x01"/> | ||
<item name="PowerProfileStarted" value="0x02"/> | ||
<item name="EnergyPhaseRunning" value="0x03"/> | ||
<item name="EnergyPhaseEnded" value="0x04"/> | ||
<item name="EnergyPhaseWaitingToStart" value="0x05"/> | ||
<item name="EnergyPhaseStarted" value="0x06"/> | ||
<item name="PowerProfileEnded" value="0x07"/> | ||
<item name="ProfileReadyForScheduling" value="0x08"/> | ||
<item name="PowerProfileScheduled" value="0x09"/> | ||
</enum> | ||
|
||
<bitmap name="EnergyFormatting" type="BITMAP8"> | ||
<field name="NumberOfDigitsToTheRightOfTheDecimalPoint" mask="0x07"/> | ||
<field name="NumberOfDigitsToTheLeftOfTheDecimalPoint" mask="0x78"/> | ||
<field name="SuppressLeadingZeros" mask="0x80"/> | ||
</bitmap> | ||
</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
Oops, something went wrong.