Update Plex sensor component configuration variable (#6853)

This commit is contained in:
Klaas Schoute 2018-10-16 19:24:39 +02:00 committed by Fabian Affolter
parent 390d7a0c2c
commit 6a1d4a3c84

View File

@ -27,13 +27,41 @@ sensor:
- platform: plex
```
Configuration variables:
- **host** (*Optional*): The IP address of your Plex server. Defaults to `localhost`.
- **port** (*Optional*): The port of your Plex Server. Defaults to `32400`.
- **name** (*Optional*): Name of the Plex server. Defaults to "Plex".
- **username** (*Optional*): The username for the remote Plex server.
- **password** (*Optional*): The password for your given account on the remote Plex server.
- **server** (*Optional*): The name of your remote Plex server.
- **token** (*Optional*): X-Plex-Token of your remote Plex server.
- **ssl** (*Optional*): Use HTTPS to connect to Plex server, *NOTE* host *must not* be an IP when this option is enabled. Defaults to "False"
{% configuration %}
host:
description: The IP address of your Plex server.
required: false
default: localhost
type: string
port:
description: The port of your Plex Server.
required: false
default: 32400
type: integer
name:
description: Name of the Plex server.
required: false
default: Plex
type: string
username:
description: The username for the remote Plex server.
required: false
type: string
password:
description: The password for your given account on the remote Plex server.
required: false
type: string
server:
description: The name of your remote Plex server.
required: false
type: string
token:
description: X-Plex-Token of your remote Plex server.
required: false
type: string
ssl:
description: Use HTTPS to connect to Plex server, *NOTE* host *must not* be an IP when this option is enabled.
required: false
default: false
type: boolean
{% endconfiguration %}