From a050b7603f7da712c7cf7cb1c4b8c84851d45712 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Mon, 29 Oct 2018 12:26:27 +0100 Subject: [PATCH] Update media_extractor component configuration (#7223) --- source/_components/media_extractor.markdown | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/source/_components/media_extractor.markdown b/source/_components/media_extractor.markdown index 60b03259a0e..33c788c3dc8 100644 --- a/source/_components/media_extractor.markdown +++ b/source/_components/media_extractor.markdown @@ -13,7 +13,6 @@ ha_release: 0.49 ha_qa_scale: internal --- - The `media_extractor` component gets a stream URL and sends it to a media player entity. This component can extract entity specific streams if configured accordingly.

@@ -27,10 +26,17 @@ To use the media extractor service in your installation, add the following to yo media_extractor: ``` -Configuration variables: - -- **default_query** (*Optional*): Set default stream query for all devices ('best' by default). -- **customize** (*Optional*): Set entity specific values. For example: +{% configuration %} +default_query: + description: Set default stream query for all devices. + required: false + default: best + type: string +customize: + description: Set entity specific values. + required: false + type: list +{% endconfiguration %} ```yaml # Example configuration.yaml entry