I know this thread is old, but I had the same issue now and I found a workaround for this.
I wanted to create an advanced flow for an alarm in the morning in Homey to start playing music and gradually fading the light up over a period of time. The music I want to play on my Google Home device is a playlist in Spotify.
Given the current limitation in the Google API, you cannot play Spotify on a Google Home device from Homey. The workaround is to have two routines, one in Google Home and one in Homey.
A bit dirty, but this should work:
-
Set up an alarm routine in Google Home on the particular device, say “Bedroom”, that is triggered at 07:00, sets the volume to 0% on the Bedroom device, and starts playing the wanted playlist.
-
In an advanced flow in Homey, set up a When card at the same time, 07:00, add a 5 second delay, and add a card for pausing the music on the Bedroom device.
-
Do all the other stuff you want in the flow, and when you want to start plyaing the music, set the volume of the Bedroom device, and add a Play on the Bedroom device. The device will then unpause the previously paused playlist.