Homebridge was crashing when attempting to change the value of a dimmer switch (issue #57). The next callback wasn't being passed to the debounced function. It also looks like next was being called in both setSwitchCurrentValue and the debounced function.
Homebridge was crashing when attempting to change the value of a dimmer switch (issue #57). The next callback wasn't being passed to the debounced function. It also looks like next was being called in both setSwitchCurrentValue and the debounced function.