Sorry about your appliances.
βThe "flashing of light" is sometimes due to a persistent transient fault. The fault could be due to any reason across the distribution value chain: say, two saggy wires somewhere touching intermittently due to wind, causing the system to circuit-break momentarily.
In modern systems, RECLOSERS handle this tripping and restoration automatically whenever there are such faults.
βThe other major cause is manual troubleshooting by DisCo operators at the substation. For instance, if a line trips during a storm, the operator often doesn't know if a wire just briefly shook or if a pole actually snapped, so they manually flip the heavy circuit breaker back on to "test" the line.
βIf the fault is still active, the system instantly shorts out and trips right back off, appearing in your house as a sudden, one-second flash of light that can easily fry sensitive electronics.