Hi, I’m trying to use my google home mini in my office to play internet radio on my HEOS 1 in the office. So essentially i have the code below which appears to be fine but the audio doesn’t want to play from the HEOS 1. It carries out the final step ok to turn the google home mini to 0% volume for info.
also for info ‘office_speaker’ is the google home and ‘office’ is the HEOS 1
I’ve also tried not passing the ‘media_content_id’ dynamically and just putting the radio URL as a test but no luck.
Could it be a bug with HEOS and the med_player.play_media command ?
- id: '1552824161107'
alias: Auto Radio on HEOS from Google Mini
trigger:
platform: template
value_template: '{{ states.media_player.office_speaker.attributes.app_name == "TuneIn Free" and states.media_player.office_speaker.state == "playing"}}'
action:
- service: media_player.play_media
entity_id: media_player.office
data_template:
media_content_id: '{{ states.media_player.office_speaker.attributes.media_content_id }}'
media_content_type: 'music'
- service: media_player.volume_set
data:
entity_id: media_player.office_speaker
volume_level: 0
Any ideas much appreciated !
Thanks