Is there not something fundamentally wrong with a bike light that doesn't work in the rain?

In the UK we would have legal consumer protection that would cover this - ie the article isn't fit for the purpose it was sold for. But then it rains a lot here

Don't know if this helps