@EricM_Inovelli Can we clarify which button should be “released” and which should be “hold”? There are conflicts in various areas…
- On the device page, button 6 is for “released” while button 8 is for “hold”
- On the FAQ page, button 6 is for “hold” while button 8 is for “released”
- Hubitat Driver for both on/off and dimmer:
a. In the switch-case statement (void zwaveEvent), button 6 maps to “released” while button 8 maps to “held”. So it’s same as the device page.
b. In the buttonEvent function, button 6 sends a lastEvent of “Hold ▼ or Hold ▲” while button 8 sends a lastEvent of “Tap ▲▲▲▲▲▲▲▲”. Button 6’s Hold event is obviously wrong while button 8’s event is also wrong.
c. In the holdUp() and holdDown() functions, button 6 is being sent. Once again, this is opposite from what is actually happening.
So can we decide on what exactly button 6 and button 8 should be doing?
If button 6 should be “released” while button 8 should be “held”, the buttonEvent(), holdUp() and holdDown() functions of both drivers need to be changed to reflect that. The FAQ page would also need to be updated.
If button 6 should be “held” while button 8 should be “released”, the zWaveEvent() function should be changed to reflect that. The device page would also need to be updated.
Also, in both cases, the buttonEvent() needs to also specify an if statement for button 8 to properly describe what happens.
I can make the changes as long as I have guidance as to what the buttons should correctly map to.