I have this code running en automation fires of fine, but on one of the 2 defined sonos speaker it keeps repeating the sound. Anyone have any idea why?
- alias: 'Manual - Alarm triggered'
trigger:
- platform: state
entity_id: alarm_control_panel.home_alarm
to: triggered
action:
- service: notify.mobile_app_xxxxx
data_template:
title: 'Alarm'
message: >
Alarm triggered - Siren
data:
push:
sound: "sirene.wav"
- service: media_player.volume_set
data_template:
entity_id:
- media_player.keuken
- media_player.woonkamer
volume_level: 0.1
- service: media_player.play_media
data:
media_content_id: http://x.x.x.x:8123/local/sirene.mp3
media_content_type: music
target:
entity_id:
- media_player.keuken
- media_player.woonkamer