From b78cf38711314345691ff0528597b56f06889a08 Mon Sep 17 00:00:00 2001 From: jjlawren Date: Wed, 11 Sep 2019 14:31:20 -0500 Subject: [PATCH] Plex config changes (#10342) * Remove default host, add server param, update descriptions * :pencil2: Tweak * Multiple examples * Minimal config example --- source/_components/plex.markdown | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source/_components/plex.markdown b/source/_components/plex.markdown index 104acf0f9f7..c0d05f6d890 100644 --- a/source/_components/plex.markdown +++ b/source/_components/plex.markdown @@ -27,7 +27,7 @@ The preferred way to setup the Plex platform is by enabling the [discovery compo If your Plex server has local authentication enabled or multiple users defined, Home Assistant requires an authentication token to be entered in the frontend. You will be prompted with a notification to complete configuration if discovery is enabled. -If your server enforces SSL connections, write "`on`" or "`true`" in the _"Use SSL"_ field. If it does not have a valid SSL certificate available but you still want to use it, write "`on`" or "`true`" in the _"Do not verify SSL"_ field as well. +If your server enforces SSL connections, write "`on`" or "`true`" in the _"Use SSL"_ field. If it does not have a valid SSL certificate available but you still want to use SSL, write "`off`" or "`false`" in the _"Verify SSL"_ field as well.

@@ -38,13 +38,13 @@ You can also enable the plex platform directly by adding the following lines to ```yaml # Example configuration.yaml entry plex: + token: MYSECRETTOKEN ``` {% configuration %} host: description: The IP address or hostname of your Plex server. required: false - default: localhost type: string port: description: The port of your Plex Server. @@ -52,7 +52,11 @@ port: default: 32400 type: integer token: - description: A valid X-Plex-Token for your Plex server. + description: A valid X-Plex-Token for your Plex server. If provided without `host` and `port`, a connection URL will be retreived from Plex. + required: false + type: string +server: + description: Name of Plex server to use if multiple servers are associated with the token's Plex account. Only used if `token` is provided without `host` and `port`. required: false type: string ssl: