So I have some great automation with HA and my Google ecosystem.
But I came across this today when setting it up, I dont know if this is possible,but wanted to check.
My “pool radio” is a Chromecast with GTV, that pumps sound to some speakers by the pool.
My automation is this…
if someone rings the doorbell (nest), it will say over the speakers that the CGTV is connected to that someone is at the front door.
This works perfectly.
I have an If statement there that if the Pool Radio is playing, then pause, and then tell me someone is at the front door, then play again.
This is HALF working.
What I normally do is when going out to the pool, I cast music from my phone (youtube music) to the CGTV.
So when the doorbell rings, and the music is playing, it does “pause” the music and say someone is there.
It is then supposed to play again.
What is happening is it does not play again.
The CGTV is put back in a playing state, but it has become disconnected (the casting) from my phone? which is weird.
The object is whatever I was casting to that CGTV, when it pauses, then plays again, it picks up where it left off. But it is disconnecting the cast.
Anyone have any ideas here? This may not work like I want it to, but thought I would check.