Can wled use deep sleep?

I have 10 leds in a fake pumpkin outside powered by 4 AA rechargeable batteries. Using a d1 mini.

I’d hate to have to go out each night and unplug the batteries, anyway to have the d1 mini go into deep sleep after say, 2 hours? Then the next day I could go out and unplug and replug in the batteries.

Or anything like that?

For your specific situation, I recommend installing a switch between the 4AA battery back and D1 Mini V+ input. You can drill or poke a tiny hole in the rear of the fake pumpkin and make it a permanent switch.