I’ve just found the notify.google_assistant_sdk service that use broadcast. I’ve previous used the service tts.google_translate_say to send voice notifications to my Google Home-speakers but I want playing music to resume after the notification, which the notify.google_assistant_sdk seems to support.
However, I can’t figure out how to specify what device the broadcast should be directred to?
The documentation for the google_assistant_sdk integration states that you can use the service data attribute target to send the broadcast to “Rooms (in Google Assistant)”. When I add a target the broadcast is still played to all speakers in the house but the spoken notification includes the name of the room added?
service: notify.google_assistant_sdk
data:
message: Test
target:
- Vardagsrum
Is it somehow possible to list the entities avaliable for the service data attribute target? I have the Google Assistant, Google Assistant SDK and Google Cast integrations set up and working.
I played around with any kind of combination of command and text in getting it done, but it seems like broadcast always goes into any of the rooms.
I am using Google in German language, so no native English, not sure if that has an impact for the API. But I even can’t get Google Assistant on the phone to send an announcement only to a single room or device… it always shouts out to all the devices on the account / in the household.
Anyone having a idea how to do it would be highly appreciated!!
Most important issue is to not interrupt the streaming of any running media but overlaying the message and continuing after the message with whatever has been playing before…
This format works for me… though figuring out the names of the Target is what I’m struggling with. I have a Wiim player that I can’t figure out the Target name of, but if I group it into a speaker group, I can use that target name… unfortunately, it then says the speaker group’s name in the announcement.
data:
message: Someone rang the doorbell.
target:
- Master Bathroom
- Media Room
- Party
enabled: true
action: notify.google_assistant_sdk