I’m trying to start spotify in a script to play music on a specific device.
What sometimes happens is that i listened on another device such as my computer.
After i run the script the music starts playing on the last used device. I wanted to force HA to play the music on the device i want but when i try the script below i get the error in the subject.
Does anybody know how to fix the: Failed to call service script/play_music. extra keys not allowed @ data[‘source’]