I needed to “lift” my door sensor 5mm to get good contact with the magnet, so I designed this.
It can be mounted vertically or horizontally, with either screws (holes in the model), or use double-sided tape like I did.