diff --git a/src/app/common/templates/config-data.yaml b/src/app/common/templates/config-data.yaml index 601d3f13f613fd..9d90018883a8b8 100644 --- a/src/app/common/templates/config-data.yaml +++ b/src/app/common/templates/config-data.yaml @@ -22,20 +22,18 @@ CommandHandlerInterfaceOnlyClusters: # List of clusters that are implemented entirely with # CommandHandlerInterface and hence do not need generated command dispatch. # This uses asUpperCamelCase versions of the cluster name. - - NetworkCommissioning + - Network Commissioning - Scenes - - RvcRunMode - - RvcCleanMode - - DishwasherMode - - LaundryWasherMode - - RefrigeratorAndTemperatureControlledCabinetMode - - OperationalState - - ActivatedCarbonFilterMonitoring - - HepaFilterMonitoring - - RvcOperationalState - # cluster format should match ClustersWithInitFunctions et al - # See https://github.com/project-chip/connectedhomeip/issues/29186 - - SampleMei + - RVC Run Mode + - RVC Clean Mode + - Dishwasher Mode + - Laundry Washer Mode + - Refrigerator And Temperature Controlled Cabinet Mode + - Operational State + - Activated Carbon Filter Monitoring + - HEPA Filter Monitoring + - RVC Operational State + - Sample MEI # We need a more configurable way of deciding which clusters have which init functions.... # See https://github.com/project-chip/connectedhomeip/issues/4369 diff --git a/src/app/zap-templates/templates/app/callback.zapt b/src/app/zap-templates/templates/app/callback.zapt index 9659df92b61416..53bbafd4325477 100644 --- a/src/app/zap-templates/templates/app/callback.zapt +++ b/src/app/zap-templates/templates/app/callback.zapt @@ -113,7 +113,7 @@ void emberAf{{asUpperCamelCase label}}ClusterClientTickCallback(chip::EndpointId {{#zcl_clusters}} {{#zcl_commands}} {{#if (isClient source)}} -{{#unless (isInConfigList (asUpperCamelCase parent.name) "CommandHandlerInterfaceOnlyClusters")}} +{{#unless (isInConfigList parent.name "CommandHandlerInterfaceOnlyClusters")}} /** * @brief {{parent.name}} Cluster {{name}} Command callback (from {{source}}) */ diff --git a/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt b/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt index 2d210b03aea1cc..e41e9328fac98d 100644 --- a/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt +++ b/src/app/zap-templates/templates/app/im-cluster-command-handler.zapt @@ -21,7 +21,7 @@ namespace app { namespace Clusters { {{#all_user_clusters_with_incoming_commands}} -{{#unless (isInConfigList (asUpperCamelCase clusterName) "CommandHandlerInterfaceOnlyClusters")}} +{{#unless (isInConfigList clusterName "CommandHandlerInterfaceOnlyClusters")}} {{#if (isServer clusterSide)}} namespace {{asUpperCamelCase clusterName}} { @@ -71,7 +71,7 @@ void DispatchSingleClusterCommand(const ConcreteCommandPath & aCommandPath, TLV: switch (aCommandPath.mClusterId) { {{#all_user_clusters_with_incoming_commands}} - {{#unless (isInConfigList (asUpperCamelCase clusterName) "CommandHandlerInterfaceOnlyClusters")}} + {{#unless (isInConfigList clusterName "CommandHandlerInterfaceOnlyClusters")}} {{#if (isServer clusterSide)}} case Clusters::{{asUpperCamelCase clusterName}}::Id: Clusters::{{asUpperCamelCase clusterName}}::DispatchServerCommand(apCommandObj, aCommandPath, aReader);