mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-27 04:26:49 +00:00

* Add media group docs * Fix configuration example * Bump ha_release Co-authored-by: Franck Nijhof <frenck@frenck.nl>
1.3 KiB
1.3 KiB
title, description, ha_category, ha_release, ha_iot_class, ha_quality_scale, ha_domain
title | description | ha_category | ha_release | ha_iot_class | ha_quality_scale | ha_domain | |
---|---|---|---|---|---|---|---|
Media Player Group | Instructions for how to setup Media player groups within Home Assistant. |
|
2021.7 | Local Push | internal | 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 %} name: description: The name of the media player group. Defaults to "Media Group". required: false type: string entities: description: A list of entities to be included in the media player group. required: true type: [string, list] {% endconfiguration %}
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.'