As long as it’s a mains powered zwave device (not battery powered), The Tweaker is still the way to go. See the following recent discussion:
Parameter changes in general and specifically Everspring HSP02
And as @Automated_House mentioned, The most common reason for error messages in the IDE is that you pasted in code for a DTH into the smartapp section or vice a versa. The Tweaker is a DTH, not a smartapp.