project-chip / project-chip/matter-test-scripts

framework: Need a generated, code-accessible mapping of device type to ID

Open
#689 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.