File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src-electron/generator/matter/app/zap-templates/common Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -591,8 +591,9 @@ function enhancedCommands(commands, types) {
591591 // The 'response' property contains the response returned by the `selectCommandById`
592592 // helper. But this one does not contains all the metadata informations added by
593593 // `enhancedItem`, so instead of using the one from ZAP, retrieve the enhanced version.
594+ const clusterName = command . clusterName ;
594595 command . response = commands . find (
595- ( command ) => command . name == responseName
596+ ( command ) => command . name == responseName && command . clusterName == clusterName
596597 ) ;
597598 // We might have failed to find a response if our configuration is weird
598599 // in some way.
You can’t perform that action at this time.
0 commit comments