Hello,
I’m very new to the Home Assistant world and just trying to get things setup. I am trying to find a way to play music on a specific Spotify/Alexa audio group called everywhere. I have connected Spotify to HA and tried using scenes but don’t get much luck as it just seems too play music on the last selected source, even when I select the source within the scene. If for instance Spotify then started playing on my bedroom group when I triggered the scene it will just play on the bedroom group rather that switching to the everywhere group. I have also looked at automations but not sure how I would trigger the everywhere group. This is the current YAML code for the automation:
description: “”
mode: single
trigger:
condition:
action:
- service: media_player.play_media
target:
entity_id: media_player.spotify_mark
data:
media_content_id: spotify:playlist:0edXEC54S2Cwqnni
media_content_type: spotify://playlist
metadata:
title: “My Playlist #1”
thumbnail: >-
https://mosaic.scdn.co/640/ab67616d00001e02119e86ab31abf9323008dc1cab67616d00001e0242401e02b3bf3ba5d8ef6fb0bb564e4eab67616d00001e02e7c3feb995071fa6e225baf3
media_class: playlist
children_media_class: track
navigateIds:
- {}
- media_content_type: spotify://current_user_playlists
media_content_id: current_user_playlists
- media_content_type: spotify://playlist
media_content_id: spotify:playlist:0edXEC54S2Cwqnni
Is there a code I can use to specify the source/audio group or does anyone know of a simple way to do this in HA?
Many thanks for your help in advance,
Mark