Skip to content

Commit

Permalink
Mark several clusters that are zigbee only as deprecated. (#30871)
Browse files Browse the repository at this point in the history
* mark several clusters as zigbee-only

* update comment

* zap regen

---------

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Feb 4, 2024
1 parent 4ddea11 commit 3562136
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ cluster OnOff = 6 {
}

/** Attributes and commands for configuring On/Off switching devices. */
cluster OnOffSwitchConfiguration = 7 {
deprecated cluster OnOffSwitchConfiguration = 7 {
revision 1; // NOTE: Default/not specifically set

readonly attribute enum8 switchType = 0;
Expand Down Expand Up @@ -605,7 +605,7 @@ cluster LevelControl = 8 {
}

/** An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. */
cluster BinaryInputBasic = 15 {
deprecated cluster BinaryInputBasic = 15 {
revision 1; // NOTE: Default/not specifically set

attribute optional char_string<16> activeText = 4;
Expand Down Expand Up @@ -3792,7 +3792,7 @@ cluster WindowCovering = 258 {
}

/** This cluster provides control of a barrier (garage door). */
cluster BarrierControl = 259 {
deprecated cluster BarrierControl = 259 {
revision 1; // NOTE: Default/not specifically set

bitmap BarrierControlCapabilities : bitmap8 {
Expand Down Expand Up @@ -5415,7 +5415,7 @@ cluster LowPower = 1288 {
}

/** Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need to provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster.. */
cluster ElectricalMeasurement = 2820 {
deprecated cluster ElectricalMeasurement = 2820 {
revision 3;

readonly attribute optional bitmap32 measurementType = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ cluster LevelControl = 8 {
}

/** An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. */
cluster BinaryInputBasic = 15 {
deprecated cluster BinaryInputBasic = 15 {
revision 1; // NOTE: Default/not specifically set

attribute optional char_string<16> activeText = 4;
Expand Down
3 changes: 2 additions & 1 deletion src/app/zap-templates/zcl/data-model/chip/pwm-cluster.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ limitations under the License.
<configurator>
<domain name="CHIP" />

<cluster apiMaturity="provisional">
<!-- Deprecated because this is a zigbee-only cluster -->
<cluster apiMaturity="deprecated">
<domain>General</domain>
<name>Pulse Width Modulation</name>
<code>0x001c</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ limitations under the License.
<field name="positionFailure" mask="0x08"/>
</bitmap>

<cluster>
<!-- Deprecated because this is a zigbee-only cluster -->
<cluster apiMaturity="deprecated">
<name>Barrier Control</name>
<domain>Closures</domain>
<code>0x0103</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ limitations under the License.
<configurator>
<domain name="Home Automation"/>

<cluster introducedIn="ha-1.2-05-3520-29">
<!--
Deprecated because this is a zigbee-only cluster.
Matter electrical measurement is 0x90 (see https://github.com/project-chip/connectedhomeip/pull/30389)
-->
<cluster apiMaturity="deprecated" introducedIn="ha-1.2-05-3520-29">
<name>Electrical Measurement</name>
<domain>Home Automation</domain>
<description>Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need to provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster..</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ limitations under the License.
<configurator>
<domain name="General"/>

<cluster>
<!-- Deprecated because this is a zigbee-only cluster -->
<cluster apiMaturity="deprecated">
<name>Binary Input (Basic)</name>
<domain>General</domain>
<description>An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. </description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ limitations under the License.
<configurator>
<domain name="General"/>

<cluster>
<!-- Deprecated because this is a zigbee-only cluster -->
<cluster apiMaturity="deprecated">
<name>On/off Switch Configuration</name>
<domain>General</domain>
<description>Attributes and commands for configuring On/Off switching devices.</description>
Expand Down
10 changes: 5 additions & 5 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ cluster OnOff = 6 {
}

/** Attributes and commands for configuring On/Off switching devices. */
cluster OnOffSwitchConfiguration = 7 {
deprecated cluster OnOffSwitchConfiguration = 7 {
revision 1; // NOTE: Default/not specifically set

readonly attribute enum8 switchType = 0;
Expand Down Expand Up @@ -533,7 +533,7 @@ cluster LevelControl = 8 {
}

/** An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. */
cluster BinaryInputBasic = 15 {
deprecated cluster BinaryInputBasic = 15 {
revision 1; // NOTE: Default/not specifically set

attribute optional char_string<16> activeText = 4;
Expand All @@ -554,7 +554,7 @@ cluster BinaryInputBasic = 15 {
}

/** Cluster to control pulse width modulation */
provisional cluster PulseWidthModulation = 28 {
deprecated cluster PulseWidthModulation = 28 {
revision 1; // NOTE: Default/not specifically set

readonly attribute command_id generatedCommandList[] = 65528;
Expand Down Expand Up @@ -5439,7 +5439,7 @@ cluster WindowCovering = 258 {
}

/** This cluster provides control of a barrier (garage door). */
cluster BarrierControl = 259 {
deprecated cluster BarrierControl = 259 {
revision 1; // NOTE: Default/not specifically set

bitmap BarrierControlCapabilities : bitmap8 {
Expand Down Expand Up @@ -8067,7 +8067,7 @@ cluster ContentAppObserver = 1296 {
}

/** Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need to provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster.. */
cluster ElectricalMeasurement = 2820 {
deprecated cluster ElectricalMeasurement = 2820 {
revision 3;

readonly attribute optional bitmap32 measurementType = 0;
Expand Down

0 comments on commit 3562136

Please sign in to comment.