Those are Fire Code and Building Code issues.
I have seen fire code mandated sprinklers installed in electrical rooms. The switchgear often has shields to divert the water so that the sprinklers do not spray directly on top of the switchgear.
--------------------
Ohm's law
Not just a good idea;
It's the LAW!