I’m trying to get a song to loop forever to my Google Home speakers. I adapted the automation that gets rid of the “BWEEP” song the speakers make to loop a rain mp3 file. I’ve yet to confirm this as the file is a 30 minute mp3, but I’m assuming that after the song ends, the casting will end along with it.
Is there an easy way to order the song to continue looping forever?
- alias: Google Home Rain
trigger:
platform: time
minutes: '/10'
seconds: 00
condition:
condition: or
conditions:
- condition: state
entity_id: media_player.home_group
state: 'off'
- condition: state
entity_id: media_player.home_group
state: 'idle'
action:
service: media_player.play_media
entity_id: media_player.home_group
data:
media_content_id: 'http://my_ip:8123/local/rainstorm.mp3'
media_content_type: 'audio/mp3'
This is my current automation. I figure a cheap trick could be to instead send a playlist that just has the same song playing over and over again, but I was hoping there’d be a cleaner method as I don’t want to even start thinking about how the Google Home devices will react to playlists.
Thanks!