Driver Components and Structure
Driver Components
A SmartThings Edge Device Driver consists of up to five main components:
- A configuration file
- The driver code itself
- Device profiles for the supported devices
- Fingerprint (applicable only for Matter, Zigbee, and Z-Wave devices)
- Search Parameters (optional, applicable to LAN devices only)
Structure
package
├── src
│ ├── init.lua
│ ├── file1.lua
│ ├── file2.lua
│ └── <folder>
│ ├── init.lua
│ └── file3.lua