Skip to content

Commit 4a97585

Browse files
authored
Add Alchemy generated files for TemperatureMeasurement cluster (#38060)
1 parent 5b3021b commit 4a97585

23 files changed

+36
-35
lines changed

examples/air-purifier-app/air-purifier-common/air-purifier-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ cluster FanControl = 514 {
19981998

19991999
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
20002000
cluster TemperatureMeasurement = 1026 {
2001-
revision 1; // NOTE: Default/not specifically set
2001+
revision 4;
20022002

20032003
readonly attribute nullable temperature measuredValue = 0;
20042004
readonly attribute nullable temperature minMeasuredValue = 1;

examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ cluster AirQuality = 91 {
17341734

17351735
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
17361736
cluster TemperatureMeasurement = 1026 {
1737-
revision 1; // NOTE: Default/not specifically set
1737+
revision 4;
17381738

17391739
readonly attribute nullable temperature measuredValue = 0;
17401740
readonly attribute nullable temperature minMeasuredValue = 1;

examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -6280,7 +6280,7 @@ cluster IlluminanceMeasurement = 1024 {
62806280

62816281
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
62826282
cluster TemperatureMeasurement = 1026 {
6283-
revision 1; // NOTE: Default/not specifically set
6283+
revision 4;
62846284

62856285
readonly attribute nullable temperature measuredValue = 0;
62866286
readonly attribute nullable temperature minMeasuredValue = 1;

examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -4692,7 +4692,7 @@ cluster IlluminanceMeasurement = 1024 {
46924692

46934693
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
46944694
cluster TemperatureMeasurement = 1026 {
4695-
revision 1; // NOTE: Default/not specifically set
4695+
revision 4;
46964696

46974697
readonly attribute nullable temperature measuredValue = 0;
46984698
readonly attribute nullable temperature minMeasuredValue = 1;

examples/bridge-app/bridge-common/bridge-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@ cluster UserLabel = 65 {
21322132

21332133
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
21342134
cluster TemperatureMeasurement = 1026 {
2135-
revision 1; // NOTE: Default/not specifically set
2135+
revision 4;
21362136

21372137
readonly attribute nullable temperature measuredValue = 0;
21382138
readonly attribute nullable temperature minMeasuredValue = 1;

examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,7 @@ cluster FanControl = 514 {
19211921

19221922
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
19231923
cluster TemperatureMeasurement = 1026 {
1924-
revision 1; // NOTE: Default/not specifically set
1924+
revision 4;
19251925

19261926
readonly attribute nullable temperature measuredValue = 0;
19271927
readonly attribute nullable temperature minMeasuredValue = 1;

examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ cluster AirQuality = 91 {
17741774

17751775
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
17761776
cluster TemperatureMeasurement = 1026 {
1777-
revision 1; // NOTE: Default/not specifically set
1777+
revision 4;
17781778

17791779
readonly attribute nullable temperature measuredValue = 0;
17801780
readonly attribute nullable temperature minMeasuredValue = 1;

examples/chef/devices/rootnode_contactsensor_lightsensor_occupancysensor_temperaturesensor_pressuresensor_flowsensor_humiditysensor_airqualitysensor_powersource_367e7cea91.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ cluster IlluminanceMeasurement = 1024 {
16971697

16981698
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
16991699
cluster TemperatureMeasurement = 1026 {
1700-
revision 1; // NOTE: Default/not specifically set
1700+
revision 4;
17011701

17021702
readonly attribute nullable temperature measuredValue = 0;
17031703
readonly attribute nullable temperature minMeasuredValue = 1;

examples/chef/devices/rootnode_heatpump_87ivjRAECh.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -2398,7 +2398,7 @@ cluster Thermostat = 513 {
23982398

23992399
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
24002400
cluster TemperatureMeasurement = 1026 {
2401-
revision 1; // NOTE: Default/not specifically set
2401+
revision 4;
24022402

24032403
readonly attribute nullable temperature measuredValue = 0;
24042404
readonly attribute nullable temperature minMeasuredValue = 1;

examples/chef/devices/rootnode_pump_5f904818cc.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ cluster PumpConfigurationAndControl = 512 {
14501450

14511451
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
14521452
cluster TemperatureMeasurement = 1026 {
1453-
revision 1; // NOTE: Default/not specifically set
1453+
revision 4;
14541454

14551455
readonly attribute nullable temperature measuredValue = 0;
14561456
readonly attribute nullable temperature minMeasuredValue = 1;

examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ cluster RefrigeratorAlarm = 87 {
13981398

13991399
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
14001400
cluster TemperatureMeasurement = 1026 {
1401-
revision 1; // NOTE: Default/not specifically set
1401+
revision 4;
14021402

14031403
readonly attribute nullable temperature measuredValue = 0;
14041404
readonly attribute nullable temperature minMeasuredValue = 1;

examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ cluster ThermostatUserInterfaceConfiguration = 516 {
18951895

18961896
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
18971897
cluster TemperatureMeasurement = 1026 {
1898-
revision 1; // NOTE: Default/not specifically set
1898+
revision 4;
18991899

19001900
readonly attribute nullable temperature measuredValue = 0;
19011901
readonly attribute nullable temperature minMeasuredValue = 1;

examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@ cluster FixedLabel = 64 {
15831583

15841584
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
15851585
cluster TemperatureMeasurement = 1026 {
1586-
revision 1; // NOTE: Default/not specifically set
1586+
revision 4;
15871587

15881588
readonly attribute nullable temperature measuredValue = 0;
15891589
readonly attribute nullable temperature minMeasuredValue = 1;

examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@ cluster ThermostatUserInterfaceConfiguration = 516 {
21152115

21162116
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
21172117
cluster TemperatureMeasurement = 1026 {
2118-
revision 1; // NOTE: Default/not specifically set
2118+
revision 4;
21192119

21202120
readonly attribute nullable temperature measuredValue = 0;
21212121
readonly attribute nullable temperature minMeasuredValue = 1;

examples/placeholder/linux/apps/app1/config.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -6602,7 +6602,7 @@ cluster IlluminanceMeasurement = 1024 {
66026602

66036603
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
66046604
cluster TemperatureMeasurement = 1026 {
6605-
revision 1; // NOTE: Default/not specifically set
6605+
revision 4;
66066606

66076607
readonly attribute nullable temperature measuredValue = 0;
66086608
readonly attribute nullable temperature minMeasuredValue = 1;
@@ -6618,7 +6618,7 @@ cluster TemperatureMeasurement = 1026 {
66186618

66196619
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
66206620
cluster TemperatureMeasurement = 1026 {
6621-
revision 1; // NOTE: Default/not specifically set
6621+
revision 4;
66226622

66236623
readonly attribute nullable temperature measuredValue = 0;
66246624
readonly attribute nullable temperature minMeasuredValue = 1;

examples/placeholder/linux/apps/app2/config.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -6559,7 +6559,7 @@ cluster IlluminanceMeasurement = 1024 {
65596559

65606560
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
65616561
cluster TemperatureMeasurement = 1026 {
6562-
revision 1; // NOTE: Default/not specifically set
6562+
revision 4;
65636563

65646564
readonly attribute nullable temperature measuredValue = 0;
65656565
readonly attribute nullable temperature minMeasuredValue = 1;
@@ -6575,7 +6575,7 @@ cluster TemperatureMeasurement = 1026 {
65756575

65766576
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
65776577
cluster TemperatureMeasurement = 1026 {
6578-
revision 1; // NOTE: Default/not specifically set
6578+
revision 4;
65796579

65806580
readonly attribute nullable temperature measuredValue = 0;
65816581
readonly attribute nullable temperature minMeasuredValue = 1;

examples/pump-app/pump-common/pump-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ cluster PumpConfigurationAndControl = 512 {
18901890

18911891
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
18921892
cluster TemperatureMeasurement = 1026 {
1893-
revision 1; // NOTE: Default/not specifically set
1893+
revision 4;
18941894

18951895
readonly attribute nullable temperature measuredValue = 0;
18961896
readonly attribute nullable temperature minMeasuredValue = 1;

examples/pump-app/silabs/data_model/pump-thread-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ cluster PumpConfigurationAndControl = 512 {
18901890

18911891
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
18921892
cluster TemperatureMeasurement = 1026 {
1893-
revision 1; // NOTE: Default/not specifically set
1893+
revision 4;
18941894

18951895
readonly attribute nullable temperature measuredValue = 0;
18961896
readonly attribute nullable temperature minMeasuredValue = 1;

examples/pump-app/silabs/data_model/pump-wifi-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ cluster PumpConfigurationAndControl = 512 {
18901890

18911891
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
18921892
cluster TemperatureMeasurement = 1026 {
1893-
revision 1; // NOTE: Default/not specifically set
1893+
revision 4;
18941894

18951895
readonly attribute nullable temperature measuredValue = 0;
18961896
readonly attribute nullable temperature minMeasuredValue = 1;

examples/pump-controller-app/pump-controller-common/pump-controller-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,7 @@ cluster PumpConfigurationAndControl = 512 {
17651765

17661766
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
17671767
cluster TemperatureMeasurement = 1026 {
1768-
revision 1; // NOTE: Default/not specifically set
1768+
revision 4;
17691769

17701770
readonly attribute nullable temperature measuredValue = 0;
17711771
readonly attribute nullable temperature minMeasuredValue = 1;

examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1598,7 +1598,7 @@ cluster UserLabel = 65 {
15981598

15991599
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
16001600
cluster TemperatureMeasurement = 1026 {
1601-
revision 1; // NOTE: Default/not specifically set
1601+
revision 4;
16021602

16031603
readonly attribute nullable temperature measuredValue = 0;
16041604
readonly attribute nullable temperature minMeasuredValue = 1;

src/app/zap-templates/zcl/data-model/chip/temperature-measurement-cluster.xml

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<!--
3-
Copyright (c) 2021 Project CHIP Authors
3+
Copyright (c) 2021-2025 Project CHIP Authors
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -14,7 +14,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<configurator>
17+
<!--
18+
XML generated by Alchemy; DO NOT EDIT.
19+
Source: src/app_clusters/TemperatureMeasurement.adoc
20+
Parameters: in-progress
21+
Git:
22+
-->
23+
<configurator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../zcl.xsd">
1824
<domain name="CHIP"/>
1925
<cluster>
2026
<name>Temperature Measurement</name>
@@ -24,15 +30,10 @@ limitations under the License.
2430
<define>TEMPERATURE_MEASUREMENT_CLUSTER</define>
2531
<client tick="false" init="false">true</client>
2632
<server tick="false" init="false">true</server>
27-
<attribute side="server" code="0x0000" name="MeasuredValue" define="TEMP_MEASURED_VALUE" type="temperature" min="0x954d" isNullable="true">
28-
<mandatoryConform/>
29-
</attribute>
30-
<attribute side="server" code="0x0001" name="MinMeasuredValue" define="TEMP_MIN_MEASURED_VALUE" type="temperature" min="0x954d" max="0x7ffe" isNullable="true" default="0x8000">
31-
<mandatoryConform/>
32-
</attribute>
33-
<attribute side="server" code="0x0002" name="MaxMeasuredValue" define="TEMP_MAX_MEASURED_VALUE" type="temperature" min="0x954e" isNullable="true" default="0x8000">
34-
<mandatoryConform/>
35-
</attribute>
33+
<globalAttribute code="0xFFFD" side="either" value="4"/>
34+
<attribute side="server" code="0x0000" name="MeasuredValue" define="TEMP_MEASURED_VALUE" type="temperature" min="-27315" isNullable="true"/>
35+
<attribute side="server" code="0x0001" name="MinMeasuredValue" define="TEMP_MIN_MEASURED_VALUE" type="temperature" min="-27315" max="0x7ffe" isNullable="true"/>
36+
<attribute side="server" code="0x0002" name="MaxMeasuredValue" define="TEMP_MAX_MEASURED_VALUE" type="temperature" min="-27314" isNullable="true"/>
3637
<attribute side="server" code="0x0003" name="Tolerance" define="TEMP_TOLERANCE" type="int16u" max="0x0800" default="0" optional="true">
3738
<optionalConform/>
3839
</attribute>

src/controller/data_model/controller-clusters.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -7720,7 +7720,7 @@ cluster IlluminanceMeasurement = 1024 {
77207720

77217721
/** Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. */
77227722
cluster TemperatureMeasurement = 1026 {
7723-
revision 1; // NOTE: Default/not specifically set
7723+
revision 4;
77247724

77257725
readonly attribute nullable temperature measuredValue = 0;
77267726
readonly attribute nullable temperature minMeasuredValue = 1;

0 commit comments

Comments
 (0)