Fix xml tag name for wake on lan cluster (#31714)
* fix name of globalAttribute (global is not a thing)
* Zap regen
diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
index 270e2ec..c2ab0dc 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
@@ -6302,7 +6302,7 @@
/** This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. */
cluster WakeOnLan = 1283 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
readonly attribute optional char_string<12> MACAddress = 0;
readonly attribute optional octet_string<16> linkLocalAddress = 1;
diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
index 6ce04bb..7794726 100644
--- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
+++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter
@@ -4453,7 +4453,7 @@
/** This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. */
cluster WakeOnLan = 1283 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
readonly attribute optional char_string<12> MACAddress = 0;
readonly attribute optional octet_string<16> linkLocalAddress = 1;
diff --git a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
index d4c01f1..c2c74d4 100644
--- a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
+++ b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
@@ -1216,7 +1216,7 @@
/** This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. */
cluster WakeOnLan = 1283 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
readonly attribute optional char_string<12> MACAddress = 0;
readonly attribute optional octet_string<16> linkLocalAddress = 1;
diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter
index bbbb069..b893f79 100644
--- a/examples/tv-app/tv-common/tv-app.matter
+++ b/examples/tv-app/tv-common/tv-app.matter
@@ -2025,7 +2025,7 @@
/** This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. */
cluster WakeOnLan = 1283 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
readonly attribute optional char_string<12> MACAddress = 0;
readonly attribute optional octet_string<16> linkLocalAddress = 1;
diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
index 4238e63..16c934e 100644
--- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
+++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
@@ -1487,7 +1487,7 @@
/** This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. */
cluster WakeOnLan = 1283 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
readonly attribute optional char_string<12> MACAddress = 0;
readonly attribute optional octet_string<16> linkLocalAddress = 1;
diff --git a/src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml
index c250eb2..90bd18b 100644
--- a/src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml
@@ -25,7 +25,8 @@
<server init="false" tick="false">true</server>
<description>This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol.</description>
- <global side="either" code="0xFFFD" value="1"/>
+ <!-- Current cluster version -->
+ <globalAttribute side="either" code="0xFFFD" value="1"/>
<attribute side="server" code="0x0000" define="WAKE_ON_LAN_MAC_ADDRESS" type="char_string" length="12" writable="false" optional="true">MACAddress</attribute>
<attribute apiMaturity="provisional" side="server" code="0x0001" define="LINK_LOCAL_ADDRESS" type="octet_string" length="16" writable="false" optional="true">LinkLocalAddress</attribute>
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index a822e2f..1fc8317 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -7415,7 +7415,7 @@
/** This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. */
cluster WakeOnLan = 1283 {
- revision 1; // NOTE: Default/not specifically set
+ revision 1;
readonly attribute optional char_string<12> MACAddress = 0;
readonly attribute optional octet_string<16> linkLocalAddress = 1;