I have seen builds with this sensor. I understand why it was picked.
it is however twice the price and several times the size though.
This is why I did not go for this option.
I do not expect my print to be IP67 mainly due to the door I kept to press the button or change the battery but I can easily reprint that using TPU should that ever be an issue…