Delay between switching OFF devices + bulletproof ON after delay

I think the Piggy Bank app is designed for your usecase as well (just as alternative)