I know it's not exactly the answer you are looking for, but this may help :

http://www.macupdate.com/app/mac/26433/audio-switcher

Lives in your menubar, and makes switching audio outputs pretty painless.
Hopefully this helps.

- Jay


MacPro 5,1/12 core@3.46GHz -- OS X 10.15.7 -- ATI 7970 -- 32 Gig RAM -- Crucial 500GB OS SSD -- Samsung EVO 1TB Audio/Sample SSD -- BIAB 2024 -- Logic Pro X -- Cubase Elements 14 -- Too many plugins