Is there a Certification requirement for device using mains power in/around water
You would want that kind of device to be galvanically isolated from the earth, preferably using isolated 1:1 transformer as an external power source. Isolated transformer is one that is not referenced to input ground.