✏️ Editing: before_sleep.py