Controlling Airfoil w/ KM

Hi All,

I really want to put a button on my Stream Deck to route my Mac Mini's sound to my "Office HomePod" and then sometimes move back to "Headphones".

I understand Airfoil is scriptable via AppleScript. Is there any way Keyboard Maestro could do this via AppleScript.

Pretty please? I don't know AppleScript at all and coding is lost on me, Lol

Why use Airfoil when you can Airplay?

I'll try this thanks!