# Do Not Disturb While Sleeping | Shortcuts Library

> Automatically sets your Do Not Disturb end time based on AutoSleep data

## What this shortcut does

This shortcut will turn on Do Not Disturb for you, but also schedule it to turn off based on when AutoSleep thinks you'll wake up. Works both before and after midnight.
If you plan to make a Shortcut that you run in the evening before you go to bed, I don't recommend you just edit this one. Instead, make a new Shortcut, then call this one by using the "Run Shortcut" action. The reason is that if you did edit this one with your own actions, UpdateKit would delete them when a new version of this Shortcut comes out, and that would be sad.
General Info
Supports UpdateKit
Requires AutoSleep
Doesn't work on iPad

## Compatibility

iPhone, iPad

## Required apps

AutoSleep Tracker for Watch

[View this page](https://shortcutlibrary.app/shortcuts/do-not-disturb-while-sleeping)

[Download Shortcuts Library on the App Store](https://apps.apple.com/app/id6759494377)
