Managed to get the Tradfri square button working (single press only) with the steps above by @hardluck and by adding it twice. Your result may vary. My steps are:
- Add button to smartthings app in pairing mode (4x clicks of the switch by the battery then red light shows). Close app (completely, not just background)
- In IDE change name to [Zigbee Button], label to [Shortcut Button], type to [ZigBee Button]. Save
- Reopen app. Still didn’t show correctly or work. Close app
- Put the button into pairing mode again and re-add to smartthings (don’t remove beforehand). It should remember all the names, location, etc. Close app
- In IDE change the name to something different , eg. [Zigbee Button1]. Save
- In IDE again change name back to [Zigbee Button]. Save
- Reopen app, cross fingers, and hopefully it’ll show properly with the battery status and single press will work
I had tried similar steps to above all of yesterday with no luck. Key for me was to re-add the device in the middle (even though it was added already) and then change the name back and fourth.
Good luck!