This is intended construction.
The light/UV sensor on the Ecowitt WS90 powered by Shelly is intentionally positioned at a slight angle. This design helps prevent water from accumulating on the sensor surface. The tilt allows water to drain away more efficiently, which is important because the device uses a haptic rain-sensing system. Any residual water on the surface, while unlikely, could introduce minor variations in rain measurement.