Closed Clinteastman closed 5 months ago
check the automation and script pannel ... in scripts run the play music script
If I manually run the script it starts playing the default music to the default device.
Ok so I found a workaround.
I duplicated the script and renamed it to run_music. I then just updated the spec to call that script and now it works a treat.
@Clinteastman I have a issue with my code can you help me with it
I can try, what's the problem?
I can't hear any response from the AI
Start a new issue for it.
Trying the test audio command I do hear the same on the speaker ..basically the output speaker is connected but when I give input via mic or write to the assistant like play music it responds like playing music but I can't hear anything..I think I have to select output speaker in home assistant ..what do you think
@absarbandayy thanks for opening another ticket. Let's keep your conversation there.
@Clinteastman glad you figured it out. If you create a script called stranger _things
then homeassistant will have an entity named script.stranger_things
. BUT if you then change the name of the script in the automation UI to "the_upside_down", the script will still be called script.stranger_things
.
I mention all this because I'm betting your original "play_music" script didn't really have an entity name of script.play_music
.
Closing this ticket. Thnx!
Everything works, all the way up to the point of steaming the track and then I get "Something went wrong: Service script.play_music not found."
script.play_music is available and when I ask the assistant if if has accesses it says it has. If I tell it to run the script I can see in the history it was run?