There’s a bug in the ST “dimmer switch” device type. Around line 146 is the start of the following definition:
This will never get called. The reason is that parse() is calling createEvent(…) and not zwaveEvent(). The above line should be changed to:
While at it, it probably wouldn’t hurt to clean up that function to not assume the configuration parameter being handled. After all, it might not be parameter 3 coming in… it might be something else entirely.
One last suggestion: indicatorWhenOn(), indicatorWhenOff(), indicatorNever() are all assuming their config sets are succeeding. Most other ST device type code sets a config param, and then gets it after a delay (which would trigger the above configuration report.)
If someone wants a “dimmer switch” device type with these changes already made, please let me know and I’ll throw one together.