
A device configuration file tells the plugin how to handle a device model: the widgets to create, the clusters to bind, the attributes to report and to poll, the device parameters and their defaults, and the device-specific decoding. It is a JSON file named after the Zigbee model of the device, for example SML001.json for the Philips Hue motion sensor SML001.
z4d_certified_devices/Certified/<brand>/<model>.json. They are updated with the package: don’t edit them there, your changes would be lost at the next update.Conf/Local-Devices folder of the plugin. Plugin and package updates don’t touch this folder, and a file there takes precedence over the certified one.The model name the plugin looks up is not always the raw model reported by the device: see Model name resolution and Conf/Local-Devices precedence.
Ep, ClusterToBind, ConfigureReporting, ReadAttributes…).To write or fix a configuration file, follow Get devices well integrated with the plugin (device customization), and Integrate Tuya TS0601 devices for Tuya TS0601 devices.