I am trying to repeat a sound file until turned off through chromecast. The code below only beeps once. Any ideas why?
alias: Test
description: ''
trigger: []
condition: []
action:
- service: media_player.play_media
data:
media_content_type: music
media_content_id: https://www.soundjay.com/buttons/beep-02.wav
extra:
thumb: >-
https://cdn.searchenginejournal.com/wp-content/uploads/2017/05/shutterstock_389230123.jpg
title: Test Beep
target:
entity_id: media_player.google_in_kitchen
- service: media_player.repeat_set
target:
entity_id: media_player.google_in_kitchen
data:
repeat: all
mode: single