I have a few of the Samsung buttons wall mounted.
I printed a 3d small circular mount that takes two magnets. The samsung buttons readily attach. The mount screws to the wall or 3M tape works as well.
When attached, the button sits just off the wall.
I have them in a couple of locations where I control table lamps on entry into a bedroom.
'Samsung SmartThings Button SmartThings - GP-U999SJVLEAA | Samsung US'
S