I installed the switch yesterday and this handler worked great! i was never able to get github integration to work without an error, so I manually added the handler. I do have a couple of suggestions:
-
Change the color scheme to match the new SmartThings default colors. You currently have green for On and SmartThings now uses blue.
-
If possible, add dim rate settings. Here is what the GE switch allows:
Dim Rate Adjustments
Both the number of steps (or levels) that the dimmer will change and the timing of the steps can be modified to suit personal preferences. The timing of the steps can be adjusted in 10 millisecond intervals. As an example, the default setting for parameter 8 is “3”. This means that the lighting level will change every 30 milliseconds when the Dim Command is received. A value of 255 would mean that the level would change every 2.55 seconds. Combined, the two parameters allow dim rate adjustments from 10 milliseconds to 4.2 minutes to go from maximum-to-minimum or minimum-to-maximum brightness levels.
- When Receiving a Z-Wave Dim Command
Parameter 7 (number of steps or levels)
Parameter 8 (timing of the steps)
Length: 1 Byte
Valid Values:
Parameter 7 (default = 1) Valid Values: 1-99
Parameter 8 (default = 3) Valid Values: 1-255
2. Manual Control Dimming (pressing the Dimmer’s button)
Parameter 9 (number of steps or levels)
Parameter 10 (timing of the steps)
Length: 1 Byte
Valid Values:
Parameter 9 (default = 1) Valid Values: 1-99
Parameter 10 (default = 3) Valid Values: 1-255