Koenkk / zigbee-herdsman

A Node.js Zigbee library
MIT License
485 stars 300 forks source link

[Cluster Type] Align cluster definition for 'name' attribute #1059

Closed LaurentChardin closed 6 months ago

LaurentChardin commented 6 months ago

Assuming that the ClusterDefinition interface introduce with the CustomClusters PR could be use in a different context (which is the case for example when using the type definition in zigbee2mqtt-frontend), the name attribute is missing, while it is being used in the Cluster interface.

Proposing to add the name attribute as optional.

LaurentChardin commented 6 months ago

Closing: see https://github.com/Koenkk/zigbee-herdsman/pull/1060