Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device not found but it shows up in Spotify card #199

Closed
gabosom opened this issue Apr 23, 2021 · 2 comments
Closed

Device not found but it shows up in Spotify card #199

gabosom opened this issue Apr 23, 2021 · 2 comments

Comments

@gabosom
Copy link

gabosom commented Apr 23, 2021

I'm trying start a playlist on my device called "Pioneer Receiver" but I get errors when using the spotcast service. For reference, you can see in the spotify card (end of post) that my HA can actually see the device and I can start playback from this card.

This is the YAML code I have in my script that is not working:

service: spotcast.start
data:
  device_name: Pioneer Receiver
  uri: 'spotify:playlist:5tEosAM9zwoygzM5oF8L5z'
  random_song: true
  shuffle: true

and I get the below error

Logger: homeassistant.components.script.play_spotify_playlist_on_receiver
Source: helpers/script.py:1310
Integration: Script (documentation, issues)
First occurred: April 22, 2021, 4:42:46 PM (2 occurrences)
Last logged: April 22, 2021, 4:44:16 PM

Play Spotify Playlist on Receiver: Error executing script. Error for call_service at pos 2: Could not find device with name Pioneer Receiver 

thoughts on what it might be?

image

@hmmbob
Copy link
Contributor

hmmbob commented Apr 23, 2021

Duplicate of #196

Even though the error message differs, it has the same root cause.

@fondberg
Copy link
Owner

Follow #196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants