I first started to create a script to send actions to a Google Home and resume the stream (TuneIn / Spotify) which was playing afterwards. It also restores the volume, and you can work with Google Home speakers groups.
In my home I have several Google Nest/Home speakers, and I had some scripts where a TTS would be sent which was triggered by a Google Home routine. However, I could only set it to a predefined Google Home speaker, and not to the specific speaker on which I gave the voice command.
This made me thinking, and I found a solution for this, using the ambient sounds which you can start in your routines.
So I made a new script, which can be used in cooperation with the other script, to send a TTS or other actions, like e.g. an image, or a cast of your Lovelace dashboard to specific Google Home after you ask a question to it.
As of version 2022.12 this script is included into the total Google Home Resume package
2022.12 Happy Holidays; let’s bring the family together
- Integrated into the Google Home Resume package, update according to the instructions
More use of YAML anchors
Older changes can be found here
How to install and use the package
As of version 2022.12 the instructions how to install the package are moved to my GitHub repository, so it is easier for me to keep them up to date.
Buy me a coffee
If you like this script, please feel free to buy me a coffee (I might spend it on another beverage though).
In case you decide to do so, thanks a lot!