From ffc67e9d431a20e0c41b4356c26a8c1d09d10359 Mon Sep 17 00:00:00 2001 From: Moises Terrones Date: Mon, 3 Mar 2025 20:49:32 +0000 Subject: [PATCH 1/2] Generate BooleanState with Alchemy --- .../data-model/chip/boolean-state-cluster.xml | 21 +++++++++++-------- src/app/zap_cluster_list.json | 1 - 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml index 292067d12aa456..7a1ff4eea65cf2 100644 --- a/src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/boolean-state-cluster.xml @@ -1,6 +1,6 @@ - + + - Boolean State General @@ -26,14 +31,12 @@ limitations under the License. true true - - - - - - This event SHALL be generated when the StateValue attribute changes. + StateValue + + If this event is supported, it SHALL be generated when the StateValue attribute changes. + diff --git a/src/app/zap_cluster_list.json b/src/app/zap_cluster_list.json index 23ecde30a04c19..3d10bf97941de9 100644 --- a/src/app/zap_cluster_list.json +++ b/src/app/zap_cluster_list.json @@ -145,7 +145,6 @@ "ServerDirectories": { "ACCESS_CONTROL_CLUSTER": ["access-control-server"], "ACCOUNT_LOGIN_CLUSTER": ["account-login-server"], - "ACTIONS_CLUSTER": [], "ACTIVATED_CARBON_FILTER_MONITORING_CLUSTER": [ "resource-monitoring-server" ], From c096287bd8e1be4ba7a1065c6a648718b82db33c Mon Sep 17 00:00:00 2001 From: Moises Terrones Date: Tue, 4 Mar 2025 18:26:16 +0000 Subject: [PATCH 2/2] Rearrange ACTIONS_CLUSTER in zap_cluster_list --- src/app/zap_cluster_list.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/zap_cluster_list.json b/src/app/zap_cluster_list.json index 3d10bf97941de9..2eb53f9c9758cc 100644 --- a/src/app/zap_cluster_list.json +++ b/src/app/zap_cluster_list.json @@ -145,6 +145,7 @@ "ServerDirectories": { "ACCESS_CONTROL_CLUSTER": ["access-control-server"], "ACCOUNT_LOGIN_CLUSTER": ["account-login-server"], + "ACTIONS_CLUSTER": ["actions-server"], "ACTIVATED_CARBON_FILTER_MONITORING_CLUSTER": [ "resource-monitoring-server" ], @@ -329,7 +330,6 @@ "WINDOW_COVERING_CLUSTER": ["window-covering-server"], "WATER_HEATER_MANAGEMENT_CLUSTER": ["water-heater-management-server"], "WATER_HEATER_MODE_CLUSTER": ["mode-base-server"], - "ZONE_MANAGEMENT_CLUSTER": [], - "ACTIONS_CLUSTER": ["actions-server"] + "ZONE_MANAGEMENT_CLUSTER": [] } }