I had one with a drilled hole and a rubber panel grommet holding the sensor in there. Had been sikaflexed in place and was dodgy as fk (previous owner was the craftsman responsible for that gem).

I replaced the dodgy grommet with a slightly better fitting one and it worked ok. Don't know how long it would last - I sold the car a while ago.