How to create a trigger for the LZW31-SN buttons when the internal relay is disabled?

If anyone’s wondering, here’s a link to the other Topic in the SmartThings group: Cross-post from Home Assistant: how to get button presses from the LZW31-SN?