Lockscreen does not unlock on alarm - Sleep as Android

XiaoMi / MIUI

On Xiaomi/MIUI, you need to grant special permission to Sleep as Android so that it may unlock your screen during alarm.

This is a companion discussion topic for the original entry at https://docs.sleep.urbandroid.org//faqs/alarm_lockscreen_xiaomi.html

I went into settings and deleted the clock. It defaults back to the original and works áa it normally did.