From b9bfd1a8631ccd15f1e59faaa3ffa1e256ffcb8f Mon Sep 17 00:00:00 2001 From: Artem Draft Date: Thu, 23 Feb 2023 14:29:34 +0300 Subject: [PATCH] Allow override browse media in universal media player (#25697) --- source/_integrations/universal.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/_integrations/universal.markdown b/source/_integrations/universal.markdown index fcc49c78256..bd94b17e060 100644 --- a/source/_integrations/universal.markdown +++ b/source/_integrations/universal.markdown @@ -57,6 +57,7 @@ media_player: attributes: is_volume_muted: ENTITY_ID|ATTRIBUTE state: ENTITY_ID|ATTRIBUTE + browse_media_entity: media_player.CHILD_2_ID device_class: tv unique_id: a_unique_string ``` @@ -82,6 +83,10 @@ attributes: description: "Attributes that can be overridden. Most, if not all, media player attributes can be overridden. Example entries are `is_volume_muted`, `state`, `source`, `source_list` and `volume_level`. The values should be an entity ID and state attribute separated by a pipe character (|). If the entity ID's state should be used, then only the entity id needs to be provided." required: false type: string +browse_media_entity: + description: Allows override the browse media entity to desired media player. + required: false + type: string device_class: description: The device class that this entity represents. Can be `tv`, `speaker`, or `receiver`. required: false @@ -102,6 +107,8 @@ When providing `select_source` as a command, it is recommended to also provide t When using `state_template`, if you use a template that depends on the current time it is recommended to use `now()`. Using `now()` will cause templates to be refreshed at the start of every new minute. For more information see the [time](/docs/configuration/templating/#time) section in the template documentation. +The `browse_media_entity` parameter allows you to specify which media player will be used in media browser. + ## Usage examples ### Chromecast & Kodi control with switches