Your controller can get a little confused with an abrupt change in power. Unplug your controller, open the face and remove the back-up battery (if applicable). The newer Rain Bird© controller models, the TM, ESPMe, ESP M3 do not have batteries. Battery or no batter, unplug and allow the controller unit to sit for 5 to 10 minutes. Replace the battery (if applicable) and plug the controller in. The controller will automatically default to 10 minutes a zone, 3 days a week so the controller time and watering times will need to be reset. If you need step by step instructions for that process, check the article for your particular controller or check the zone card inside the door of your controller.
*If you have an ESP Modular controller there is a RESET button located behind the face. This button will factory default your controller settings. Press and hold the reset button for three seconds. Close the face and reprogram your controller.
If you have had a lightning strike very near or at your residence/office, have had damage to other electronic devices on your property, your controller is likely a candidate for a replacement.