Skip to content

Commit

Permalink
Fix GRPKEY cluster in PICSGenerator (#33963)
Browse files Browse the repository at this point in the history
* Fix GRPKEY cluster in PICSGenerator

- Group Key Management cluster was incorrectly mapped,
  leading to errors.

This PR:

- Fixes the mapping of GroupKeyManagement cluster

Testing done:

- Ran PICSGenerator against my product after changes,
  got no error where there previously was one.

* Fix formatting, address review comment

---------

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jun 19, 2024
1 parent d191867 commit 4798382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/PICS-generator/PICSGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def GenerateDevicePicsXmlFiles(clusterName, clusterPicsCode, featurePicsList, at
elif "On/Off" == clusterName:
clusterName = clusterName.replace("/", "-")

elif "Group Key Management" == clusterName:
elif "GroupKeyManagement" == clusterName:
clusterName = "Group Communication"

elif "Wake On LAN" == clusterName or "Low Power" == clusterName:
Expand Down

0 comments on commit 4798382

Please sign in to comment.