Skip to content

Commit

Permalink
Rename some cluster_id constants to match cluster name (#23471)
Browse files Browse the repository at this point in the history
* Update constant for CONTENT_LAUNCH to CONTENT_LAUNCER

This makes the constant in sync with the cluster name.
Spec 6.7 names this 'Content Launcher Cluster' not 'Content Launch'.

This will simplify codegen because by knowing cluster name, one can
inver cluster constant names.

* zap regen

* Rename on off switch config to configuration in cluster constants

* Restyle

* zap regen
  • Loading branch information
andy31415 authored and pull[bot] committed Oct 12, 2023
1 parent 5a31431 commit bedfe94
Show file tree
Hide file tree
Showing 68 changed files with 149 additions and 147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9396,7 +9396,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -9422,7 +9422,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 1,
"attributes": [
Expand Down Expand Up @@ -18314,7 +18314,7 @@
"name": "Content Launcher",
"code": 1290,
"mfgCode": null,
"define": "CONTENT_LAUNCH_CLUSTER",
"define": "CONTENT_LAUNCHER_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -18358,7 +18358,7 @@
"name": "Content Launcher",
"code": 1290,
"mfgCode": null,
"define": "CONTENT_LAUNCH_CLUSTER",
"define": "CONTENT_LAUNCHER_CLUSTER",
"side": "server",
"enabled": 1,
"attributes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9246,7 +9246,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -9272,7 +9272,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down Expand Up @@ -18038,7 +18038,7 @@
"name": "Content Launcher",
"code": 1290,
"mfgCode": null,
"define": "CONTENT_LAUNCH_CLUSTER",
"define": "CONTENT_LAUNCHER_CLUSTER",
"side": "client",
"enabled": 0,
"commands": [
Expand Down Expand Up @@ -18082,7 +18082,7 @@
"name": "Content Launcher",
"code": 1290,
"mfgCode": null,
"define": "CONTENT_LAUNCH_CLUSTER",
"define": "CONTENT_LAUNCHER_CLUSTER",
"side": "server",
"enabled": 1,
"attributes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_speaker_RpzeXdimqA.zap
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "client",
"enabled": 0,
"attributes": [
Expand All @@ -648,7 +648,7 @@
"name": "On/off Switch Configuration",
"code": 7,
"mfgCode": null,
"define": "ON_OFF_SWITCH_CONFIG_CLUSTER",
"define": "ON_OFF_SWITCH_CONFIGURATION_CLUSTER",
"side": "server",
"enabled": 0,
"attributes": [
Expand Down
Loading

0 comments on commit bedfe94

Please sign in to comment.