Water should not be able to get in, all components are IP67 or higher.
If water does seep in, the housing might be damaged or the housing cover was mounted incorrectly. The 3 vents let in air, but block moisture.