project-chip / zap

ZAP stands for ZCL Advanced Platform. It is used to configure clusters, attributes and other entities for Matter and ZigbeePro applications.
Apache License 2.0
127 stars 81 forks source link

Resolve device type ambiguity #196

Open tecimovic opened 2 years ago

tecimovic commented 2 years ago

Device types don't have a unique ID anywhere in the XML files, so they are ambiguous across multiple-spec versions of XML file. It's a real problem when loading two separate specs of the XML file that contain same devices.

There is no single identifier to disambiguate.

tecimovic commented 2 years ago

I notice that when I save out an LO ON/off Light that gets loaded back in as a ZLL Dimmable Light. These device types are not unique so we have to be careful to match them to the device type name or something else that is unique.