How do I turn off AirPods notifications in macOS?

As of Big Sur, every time I open or unlock my Mac or walk over to it from being somewhere else I get this notification:

AirPods Nearby Notification Center Notification

AirPods
Nearby

I don't need it, dismissing it is a distraction and waiting for it to disappear is an obstruction to getting work done.

How and turn it off so I never get notifications about my Airpods?


Connect your AirPods to your Mac, then go to System Preferences → Bluetooth and for your AirPods choose Options and set ‘Connect to This Mac’ to ‘When Last Connected to This Mac’.

When Last Connected to This Mac

‘Automatically’ will switch your AirPods from being connected to another device if you stop using that device and start using your Mac. ‘When Last Connected to This Mac’ means your Mac doesn't participate in automatic switching and will only connect to AirPods when they were last connected to your Mac.