I keep my sensors vertically around the house, but sometimes I find them lying down or worse, fallen to the ground.
I designed these models with great precision and the sensor does not slip out, it must be positioned with the air slots facing upwards.
I know there are more models of this sensor on the market, mine is the one that measures 36x36 mm.
To attach the 2 parts, all you need is a little glue.