Well if the power goes out, I’m figuring that you don’t have a backup power supply just for your sprinkler system, so the sprinklers should also turn off since there isn’t any power being supplied to the solenoids. Now when the power comes back on, the sprinklers should stay off since the opensprinkler Pi needs a command from the pi board to turn the solenoids on which would allow the water to flow. I’m nearly positive this is how it would work, but don’t take my word for it 😛