-
Notifications
You must be signed in to change notification settings - Fork 13
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
When trying to use the blueprint I receive Error: list index out of range #1
Comments
I've updated the blueprint just now - can you try it again ? |
I found that assigning the devices created by the Music Assistant integration to their proper areas + removing line 110 to not check the friendly_name was enough to make it work for me |
Thanks, I already had the areas setup but removing line 110 fixed it for me as well. |
Which specific blueprint was this? Seems like they've all been changed quite a bit since this initial problem... I was actually getting this exact error message, but after a lot of digging around, I found that my problem related to the media provider I was using, Plex. I haven't had a lot of luck getting either of the automation blueprints to work, but WAS able to get the script to work, which I think is my preferred method, since I like using an LLM with local controls. So my issue causing this error message was related to the fact that I was trying to use 'radio mode' with the Plex provider... It's apparently not supported... By simply changing 'radio mode' from 'Always' to 'Never' it stopped generating the 'index out of range' error and now the script works for me. EDIT: To be clear, I was able to get the 'Local Only' blueprint to work ok, but it always plays on the default provider... It never plays on any other device or area requested. As for the 'LLM with Local' blueprint, I don't think it plays nice with Google Gemini, as it just won't work no matter what I try... I think it has something to do with the conversation agent. The blueprint says it needs an LLM with local controls disabled, but Google Gemini doesn't even have that as an option at the 'conversation agent' level... That's defined when setting it up as a 'Voice Assistant', but the blueprint doesn't point to a specific Voice Assistant provider... It's requesting a conversation agent. The script blueprint works well for me, once I figured out I can't enable radio mode. |
I'm trying to use this blueprint. When I ask assist to play an artist or a song I get a response back of "Done". Checking the traces for the automation shows Error: list index out of range.
full trace is attached.
HA Version: 2024.12.5
OS: 14.1
MA: 2.3.3 (running in a docker container on Unraid, same L2 network)
trace automation.music_assistant_voice_official 2024-12-23T04_49_35.090136+00_00.json
The text was updated successfully, but these errors were encountered: