I'm teaching myself how to use a Wink Relay. I have it ready to setup a dashboard for it and program it's two physical buttons (which are seen by Hubitat). This is the behavior I want but I can't figure out how to code it.
topButton tap: turn on smart bulb to last setting
topButton hold: turn on smart bulb to last setting (if off) and increase brightness until topButton is released
bottomButton tap: turn off smart bulb
bottomButton hold: decrease smart bulb brightness until bottomButton is released (or 01% is reached)