The literals.js file defines some basic properties of a custom driver, such as the protocol name, maximum device count, and device interface definitions.
Arbitrary protocol names, such as "Acme RS-485 Driver" and associated DTP, DTD, DLA, and CON file import are not currently supported in the CMS. In the interim, custom drivers can use the IAP protocol name.
To do so, you will need to change PROTOCOL = "xyz" to PROTOCOL = "IAP" as shown below:
The example literals.js hard codes a singular device interface, which has light and switch blocks. Your implementation may continue to use hard-coded interfaces with updates to literals.js as required.