project-chip / project-chip/matter-test-scripts
framework: Need a generated, code-accessible mapping of device type to ID
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 19
- Forks
- 7
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 3
Description
We can get this from the data model xml, but it's fragile because we're going by name. It would be good just at the very least to have an enum. I'd rather not do this through zap. Maybe when we generate the data model files? Or from matter-devices.xml?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the data model XML and the generation path for the data model files, including matter-devices.xml, and compare them with the current name-based lookup and the proposed zap alternative. Done means the project generates a stable, code-accessible device-type-to-ID enum or mapping without relying on names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100