Water-damaged electrical equipment wiring and equipment exposed to water damage shall comply with the following:
All breaker panelboards, breakers, fuses, disconnect switches, controllers, receptacles, switches, light fixtures, and electric heaters that have been submerged or exposed to water damage shall be replaced or all electrical equipment, switchgear, motor control centers, boilers and boiler controls, electric motors, transformers, and other similar equipment such as appliances, water heaters, dishwashers, ovens, and ranges that have been submerged shall be reconditioned by the original manufacturer or by its approved representative or replaced.
Electrical wiring may require replacement depending on the type of wire or cable and what application it was listed for.
Splices and termination must be checked to make sure they comply with article 110.14, 2017 edition, National Electrical Code.
Energized electrical panels that have been submerged need to be de-energized to prevent loss of life and property.
Other recommendations can be found in Guidelines for Handling Water Damaged Electrical Equipment published by the National Electrical Manufacturers Association (NEMA).