I have now relaesed versikn 3.5.2 which fixes all the issues caused by spotify and core.
I urge EVERYONE using patches to upgrade as soon as possible to official 3.5.2 because the fixes out there all included another discovery of cast devices which will lead to issues in HA core cast. I have gotten the maintainer 8f pychromecast and HA core cast support to clear my fix.
As I wrote in the DM, you should start with verifying that a simple service start call works, if not then you need to check the logs for that error you get and post that here as a pastebin link
im getting this error:
Failed to cast media spotify:playlist:37i9dQZF1DX9Bom9R0tCgx. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
alias: Start summar rewind in office
sequence:
- service: spotcast.start
data:
spotify_device_id: "7195af83e3044e449c2adf786ed72d92"
uri : "spotify:playlist:37i9dQZF1CAiFMqgF92dBd"
random_song: true```
Start summar rewind in office: Error executing script. Error for call_service at pos 1: Could not get spotify token
#Pastebin log here
https://pastebin.com/uF6sLMPE
i did all that: but im getting: Failed to cast media spotify:playlist:7FvCHKzqYNtNCNdZ83bFYm. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
I’ve just created an issue as 3.5.4 is throwing me errors “Failed to get device id from Spotify” when trying to use a 2nd account - using the primary account everything works fine.
If anyone else sees this error, you can track it here.