Does DoT provide a way to turn off a Potion when going to fall asleep?

Yes. With Date & Time, you can choose to run a Potion only during a certain time schedule (defined period of time or a specific date)  

Feedback and Knowledge Base