Skip to content

Commit

Permalink
Add missing parts in Localization Unit cluster (#13316)
Browse files Browse the repository at this point in the history
* Add missing parts in TempUnit cluster

* Update gen folders
  • Loading branch information
yufengwangca authored and pull[bot] committed Jan 10, 2022
1 parent edbf326 commit e51a488
Show file tree
Hide file tree
Showing 10 changed files with 212 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ limitations under the License.
-->
<configurator>
<domain name="CHIP" />


<enum name="TempUnit" type="ENUM8">
<cluster code="0x002d"/>
<item name="Fahrenheit" value="0x00"/>
<item name="Celsius" value="0x01"/>
<item name="Kelvin" value="0x02"/>
</enum>
<cluster>
<domain>General</domain>
<name>Localization Unit</name>
Expand All @@ -26,12 +30,10 @@ limitations under the License.
<client init="false" tick="false">true</client>
<server init="false" tick="false">true</server>
<description>Nodes should be expected to be deployed to any and all regions of the world. These global regions
may have differing preferences for the units in which values are conveying in communication to a
user. As such, Nodes that visually or audibly convey measurable values to the user need a
mechanism by which they can be configured to use a user’s preferred unit.</description>
<!-- Base data types -->

<!-- Test Commands -->

may have differing preferences for the units in which values are conveying in communication to a
user. As such, Nodes that visually or audibly convey measurable values to the user need a
mechanism by which they can be configured to use a user’s preferred unit.</description>
<!-- Base data types -->
<attribute side="server" code="0x00" define="TEMPERATURE_UNIT" type="ENUM8" writable="true" optional="true">TemperatureUnit</attribute>
</cluster>
</configurator>
24 changes: 24 additions & 0 deletions src/controller/python/chip/clusters/Objects.py

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

52 changes: 52 additions & 0 deletions src/darwin/Framework/CHIP/zap-generated/CHIPCallbackBridge.mm

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

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

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

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

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

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

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

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

0 comments on commit e51a488

Please sign in to comment.