ah ok good to know thx, maybe a proposition to add to the explanation of speaker_groups that this points only to google home groups…
as long as it is…
"Maybe it’s easier for you, @TheFes, if I just create the groups in the Google Home app…
(done now).
This way, you don’t need to add those groups from HA (Home Assistant) to the script/automation.
I now have media_player.huis in the Google Home app, which includes 8 media players.
Should I add this to your script:
speaker_groups:
media_player.huis
Or this:
speaker_groups:
media_player.huis:
(then below this, add the 8 media players again)
After that, it should work, right? And can I reactivate that automation?"
Please keep using English instead of Dutch on the forum
Sorry, (habit)
Corrected it
Correct, you should add the groups and lists the members (as HA doesn’t know what the members of a Google Home group are).
Don’t activate the Google Home Resume automation, you don’t need it when activating the script yourself and it doesn’t really work reliable
Ok i will thx
Huh ok i wont activate the google home resume automation…
Im gonna delete it then, if i dont use it anyway…
I’m not sure i need the event either, maybe i delete that too…
Cause resuming after i went away, i dont do that.
Might clean up then.
One last thing, if i have my own automation calling the script to do tts
the entity i put in there, i can use the google home app group then?
Yes, you can use the Google Home groups as target of the TTS
And if i point to 1 player, will it resume also?
Yes, but that should also have worked before
ok , will retest everything now, thx for clearing things up
Update
2024.9.0
IMPROVEMENTS
- Add support for resume of group members of Home Assistant media player groups. Before this version, cast devices were not resumed if they were member of a media player group created in Home Assistant. Now the members of such groups are also checked for playing status, and resumed if needed. There is no need to add these groups to the
speaker_groups
section in the setting, as the members are stored in an attribute of the media player entity. - A short fixed delay of 2 seconds is added before resume in started to prevent resume is started before the TTS message or other action is performed.
What’s Changed
- Add support for HA Media Player Groups by @TheFes in Add support for HA Media Player Groups by TheFes · Pull Request #12 · TheFes/Google-Home-Resume · GitHub
Full Changelog: Comparing 2024.8.0...2024.9.0 · TheFes/Google-Home-Resume · GitHub
It should also work with your HA created media player groups now
Wow thats very quick, thx ! Will test asap
Hi, I have a question. If I have a stereo pair created from two Google Nest in the Google Home App, do I need to add these as a Group in Settings? Thank you very much for this great script.
As long as you target the stereo pair entity and not the individual devices you don’t need to define it as speaker group in the settings
Nice! Thanks!!!