Spotcast is still working fine for me this morning. There was a recent update required for the latest HA release.
For device names, have a read a little further down this page.
If you configure the sensor you’ll get an entity that lists all the discovered devices and you can then use those names in your spotcast automation. In general though, the device name is just whatever it’s called in the google home app.
To play a specific song or album you need its URI - you can google how to get this via spotify web. You can also just resume whatever you were playing before.
This automation example shows how to set the start volume.
You could do a separate automation that is triggered by you starting Spotcast that waits 3mins etc. and then stops playback.
tried the service under Home Assistant → Developer Tools → Services , but nothign happen and in the log I have the following message:
Updating spotify media_player took longer than the scheduled update interval 0:00:30
11:56:44 PM – (WARNING) Media player - message first occurred at 11:55:44 PM and shows up 2 times
Max Retries reached
11:56:40 PM – (ERROR) /usr/local/lib/python3.9/site-packages/spotipy/client.py - message first occurred at 11:56:11 PM and shows up 2 times
Update of media_player.spotify_126xxxxxxxx is taking over 10 seconds
11:56:24 PM – (WARNING) helpers/entity.py