Hyper Backup: Detect when external USB drive is safely unmounted

I’m using an external USB drive connected to my Synology NAS through a smart plug.

The goal is to power the drive on before the scheduled Hyper Backup task and power it off only after DSM has safely unmounted the USB drive.

I already have Home Assistant receiving DSM webhooks. The “Hyper Backup completed” notification works perfectly, but it is sent immediately after the backup finishes. DSM still performs some housekeeping and only later unmounts the external USB drive.

Right now, my workaround is to wait 5 minutes after receiving the “Hyper Backup completed” webhook before turning off the smart plug. It works, but it’s just an arbitrary safety margin. I’d rather react to the actual moment when DSM has safely unmounted/ejected the USB drive.

I’ve searched through the available DSM notifications and webhooks but couldn’t find any event related to USB unmount/eject.

Does DSM provide any notification, webhook, event, or other supported mechanism that indicates an external USB drive has been safely unmounted?

If not, is there an officially supported event-driven way to know when it’s safe to power off the external USB drive, rather than relying on an arbitrary delay?