project-chip / matter.js

A complete typescript implementation of the Matter protocol specification (https://buildwithmatter.com). Includes full support for controller, device, commissioning, secure communications, device types, and cluster definitions.
Apache License 2.0
328 stars 57 forks source link

Scraper generates wrong Names when deprecated names are included #1086

Closed Apollon77 closed 4 weeks ago

Apollon77 commented 1 month ago

See DoorLock cluster.

When the table contains a new and a deprecated name of an attribute with an empty line between them then this is all concatinated, leading to strange names. This mainly affects Doorlock but in approx 20 cases.

I would favor a scraper/generator fix rather then overrides.