zap
zap copied to clipboard
When refreshing the zap files, the device type ambiguity leads to extra row in the JOIN, resulting in an extra endpoint type
Attempt to refresh any of the zap files that contain one of the knowingly ambiguous device types. Observe another endpoint type being created.
This is a result of a query in exportEndpointTypes() in query-impexp.js
Initially fix this by using DISTINCT, but we really need to solve the problem of not having unambiguous externalized data point for device types. If it goes on like this, we will have to invent a UUID for device types.
See https://github.com/project-chip/zap/issues/196
Needs to be tested and closed if no longer an issue