How to use Bluetooth speaker as alarm

Hi,
I am running Raspberry Pi 5. It has inbuilt Bluetooth which I connected to Speaker using terminal:
bluetoothctl
scan (to find Mac and name of your bt speaker)
pair
Trust
connect

My speaker says “connected”

Now I want to use this Bluetooth speaker to play music and also use it as alarm or siren. How do I do this? Pls help
Tia

Hello back,
I would start by reading this:
Media player - Home Assistant.

1 Like