Any way to auto disconnect bluetooth headphones?

I love my Sony WH-1000XM3 bluetooth headphones … BUT … they do not allow you to connect to multiple devices at the same time. This is a known - and frankly ridiculous - flaw in such a premium product.

You can pair to multiple sources but pushing content from, say, my iPhone means I have to disconnect them from my iPad/Mac first if that was the last device to stream to them. This is extremely frustrating and a known limitation.

Imagine being in one part of the house, settling down to listen to a podcast and find that you have to get up and walk into another room to log on to your Mac just to disconnect the bluetooth device binding. Crazy,.

I have considered how to manage this and am drawing a blank.

I usually have my iPhone with me, so the challenge really relates to triggering and auto-disconnecting them from the iPad and Mac.

On the iPad, I considered triggering an automation that would disconnect them. Two issues:

  • there is no suitable automation trigger (sleep? idle for x minutes? even ‘lock’ might work); and
  • I cant find an action to disconnect a bluetooth device… even in IpadOS 14 with Toolbox Pro installed

I am more hopeful on the Mac where I can use Keyboard Maestro to script something on sleep perhaps but that would only solve half the problem.

Does anyone have any ideas?

Thanks !