This is the best one by @ericm , everything works 100%. I use the button events created from the 2nd input to control my zigbee lamps and send the house to night mode and stuff.
https://raw.githubusercontent.com/erocm123/Hubitat/master/Drivers/fibaro-dimmer-2.src/fibaro-dimmer-2.groovy
hoping to do a bit more work on it so it shows physical and digital events if possible to fit even better with HEs apps.