How to constantly power an LED circuit normally controlled with a momentary switch?
The most obvious solution is to build a little timer circuit that fires every 30 seconds and re-triggers the sorcerer's hat. It's a beginner-level build, but still involves a half-dozen parts and either a breadboard or soldering to connect the parts.
Instead, I would suggest a trick: you could try a &quot;photoresistor&quot; wired in parallel with the switch and placed right against one of the flashing lights. The idea is to create a self-retriggering action. Don't spring for a photocell assembly, such as used to trigger outdoor lights -- you want just the bare photoresistor. These are cheap ($3.99 for 30 pcs from Amazon). It might not work but I don't think it will harm your circuit either. If it doesn't work, go the timer route.