Bluetooth media player, piper - how to use in an automation

I’m running HA Container. I have a bluetooth speaker, piper installed. I also have Media Player Piper.

  1. I don’t know how to use piper in an automation.
  2. I don’t know how to configure a media.player to the local device using bluetooth.

Any pointers would be helpful.
Thanks in advance.
Dan

I don’t think there is a Bluetooth media player integration. This gets asked a lot.