Determine which device AirPods have connected to using Siri
Solution 1:
For iOS devices you can use this shortcut. I am not able to test it on macos, but it works on my iPad Pro and my iPhone X. When I try it on my Series 3 Apple Watch it just hangs. Just assign it whatever custom text you want Siri to recognize.