This package started somewhere in 2020 as a simple script to resume a Google Cast device after it was interrupted by a TTS message. During the years more functionality was added, the Cast devices can also be resumed after playing an audio file, or casting a Home Assistant Dasboard.
In the past years I also created others scripts using the Google Home Resume script. There is a script to determine on which device a question was asked and send a TTS or play a file on that specific device. Another script stores the state of the cast devices in a template sensor, so it can be resumed in later (for example store it when you leave home, and restore it when you arrive home again).
All these scripts are now combined in one package
The package has been moved to an own dedicated GitHub repo: GitHub - TheFes/Google-Home-Resume: Google Home Resume package for Home Assistant. Update your bookmarks accordingly!
The automation to start the resume is intended to be used as a backup. If you already know you are going to send (like a TTS or mp3) and know you want to resume what was playing afterwards, I strongly advice to start the script yourself, and not rely on the automation, as it is a bit flaky.
See here for instructions how to do that.
- (2022.8.0) Removed support for Music Assistant. The integration is broken for a couple of months already, and the new version is still in beta. Will look at it again if the final version of MA2 is released
- Added support for resuming BBC streams (BBC Sounds and BBC Iplayer (for players with a screen))
- (2022.8.0) Fix bug in target determination
- (2022.8.0) Actually use the correct setting for enabling the automation, so now setting this to
Previous changes can be found here:
As of version 2023.8 the instructions how to install the package are moved to the GHR GitHub repository, so it is easier for me to keep them up to date.
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!