So I finaly got my doorbell almist working. It uses a Zigbee button and a Google Nest Mini. The yaml I am using to play the sound is:
- service: media_player.play_media
target:
entity_id: media_player.hall_speaker
data:
media_content_id: http://domain.com/wp-content/uploads/2024/01/4_loude_doorbells.mp3
media_content_type: audio/mp3
This works but I could rather play the file from my Pi. I have the files in /media but when I try to play them Lovlace control the play button in the player breafly flashes on but I get no sound. I can use the Radio Browser to play stuff and this works.
Any idea how I can get this working?