Automation to show media/image on multiple Google Nest Hub displays

Hi, i hope im in the right category here.
I am fairly new to home assistant automations and more or less just using it to gather some data from sensors, some wifi and zigbee plugs and my solar panels on the roof, so i don’t have much knowledge about automations.

Right now i want to create a new automation which sends a message/image to my google home speakers/google nest hub displays, for that i have created an image with canva which contains a text that my bin for garden wastes or paper gets fetched tomorrow.

As actions/tasks i found two media play:play media actions, one which lets me select one device and a media and the second which lets me select multiple devices/areas and a content id and content type (see first image).
The second one sounds good but has the problem that the image is only displayed on one of the speakers. Does somebody have an solution for me?

action01

service: media_player.play_media
target:
  entity_id: media_player.cs_schreibtisch
data:
  media_content_id: >-
    media-source://media_source/local/Media/Nachrichten/Kalender - Grüne
    Tonne.jpg
  media_content_type: image/jpeg
metadata:
  title: Kalender - Grüne Tonne.jpg
  thumbnail: null
  media_class: image
  children_media_class: null
  navigateIds:
    - {}
    - media_content_type: app
      media_content_id: media-source://media_source
    - media_content_type: ""
      media_content_id: media-source://media_source/local/Media
    - media_content_type: ""
      media_content_id: media-source://media_source/local/Media/Nachrichten

action02:

service: media_player.play_media
target:
  entity_id: media_player.cs_schlafzimmer
data:
  media_content_id: >-
    media-source://media_source/local/Media/Nachrichten/Kalender-Grüne_Tonne.jpg
  media_content_type: image/jpeg
metadata:
  title: Kalender-Grüne_Tonne.jpg
  thumbnail: null
  media_class: image
  children_media_class: null
  navigateIds:
    - {}
    - media_content_type: app
      media_content_id: media-source://media_source
    - media_content_type: ""
      media_content_id: media-source://media_source/local/Media
    - media_content_type: ""
      media_content_id: media-source://media_source/local/Media/Nachrichten

media i want to display on my speaker.

I do something similar for a door opening sensor which sends an image to two of my speakers but there i also have to duplicate the media play action for every speaker.

Hi Christoph Sauer,

Welcome to the HA Forum. Your category is fine.

I had a feeling this was already covered quite extensively in the forum, even though I am not sure how to do it myself. I plugged your title into a string for an external search engine and I see a lot of entries, maybe one of those posts could help you:

site:home-assistant.io show media/image on multiple Google Nest Hub displays

There might be someone that can look at your code and help you that way as well.

Hi, ok thanks, have to try it again, before i created a new topic i couldn’t find anything