Media Player Group


The group media player platform lets you combine multiple media players into one entity. All child media players of a media player group can still be used as usual, but controlling the state of the grouped media player will forward the command to each child media player.

To enable this platform in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
media_player:
  - platform: group
    entities:
      - media_player.kitchen_tv
      - media_player.livivng_room_tv

Configuration Variables

entities string | list Required

A list of entities to be included in the media player group.

name string (Optional)

The name of the media player group. Defaults to “Media Group”.

unique_id string (Optional)

An ID that uniquely identifies this media player group. If two media players have the same unique ID, Home Assistant will raise an error.

Script Example

Here’s an example of a script using the above media player group.

script:
  tts:
    alias: Run TTS
    sequence:
      service: tts.google_translate_say
      entity_id: media_player.media_group
      data:
        message: 'The cake is a lie.'