diff --git a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt index f09b7a0d0663eb..cb18aec5d5278c 100644 --- a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt @@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER {{availability (asUpperCamelCase name preserveAcronyms=true) minimalRelease="First major API revamp"}}; {{#zcl_commands}} - {{#if (is_str_equal source 'client')}} +{{#if (is_str_equal source 'client')}} {{! Takes two arguments: cluster name and command name, plus the ambient state where the command is "this" }} {{#*inline "commandDecl"}} {{#unless (wasRemoved cluster command=command)}} @@ -36,7 +36,7 @@ NS_ASSUME_NONNULL_BEGIN {{/inline}} {{> commandDecl cluster=(asUpperCamelCase parent.name preserveAcronyms=true) command=(asUpperCamelCase name preserveAcronyms=true)}} - {{/if}} +{{/if}} {{/zcl_commands}} {{#zcl_attributes_server}} @@ -82,7 +82,7 @@ NS_ASSUME_NONNULL_BEGIN queue:(dispatch_queue_t)queue {{availability (compatClusterNameRemapping name) deprecatedRelease="First major API revamp" deprecationMessage="Please use initWithDevice:endpoindID:queue:"}}; {{#zcl_commands}} - {{#if (is_str_equal source 'client')}} +{{#if (is_str_equal source 'client')}} {{! Takes two arguments: cluster name and command name, plus the ambient state where the command is "this" }} {{#*inline "commandDecl"}} {{#if (and (wasIntroducedBeforeRelease "First major API revamp" cluster command=command) @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN {{/inline}} {{> commandDecl cluster=(compatClusterNameRemapping parent.name) command=(compatCommandNameRemapping parent.name name)}} - {{/if}} +{{/if}} {{/zcl_commands}} {{~#zcl_attributes_server}} {{~#*inline "attributeDecls"}}