Xiaomi Vacuum. Get when bin is removed?

Any way to get a notification when bin is removed / inserted?

The device can detect it (play the voice), but I want send a notification to Home Assistant for know if the bin was cleaned after the last clean or not.

Yes. Check out this article for an example: How I got my vacuum cleaner to talk back to me via Telegram

You’ll use {{states.vacuum.xiaomi_vacuum_cleaner.attributes.error}} in your template.

EDIT: Nevermind, the error will only fire when you try to run the vacuum without the bin installed.