@JDRoberts that was it! I added the lines to report the numberofButton in the DTH which was originally written in @ritchierich 's thread SwannOne Key Fob Support
def installed() {
initialize()
}
def updated() {
initialize()
}
def initialize() {
sendEvent(name: “numberOfButtons”, value: 4)
}
Now the “add routine” and smartlighting app let me pick which button is pressed.
Thanks for the pointer.