From 51dced1f4b696f896add844084b48a4a7b90c922 Mon Sep 17 00:00:00 2001 From: heymoe <1672877+heymoe@users.noreply.github.com> Date: Fri, 7 Dec 2018 04:29:00 -0500 Subject: [PATCH] Corrected option name and added to the example (#7754) * Update for sensor.tautulli I found that monitored_variables did not work in the config but monitored_conditions did so I fixed that in the docs as well as add examples for monitored_conditions and monitored_users. * Update sensor.tautulli.markdown Fix for standards * Keep the configuration sample minimized --- source/_components/sensor.tautulli.markdown | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/source/_components/sensor.tautulli.markdown b/source/_components/sensor.tautulli.markdown index 3bb5741e4a4..df0bc1c0414 100644 --- a/source/_components/sensor.tautulli.markdown +++ b/source/_components/sensor.tautulli.markdown @@ -26,7 +26,7 @@ The `Tautulli` sensor platform will monitor activity on a given [Tautulli Server - Transcode count - WAN bandwidth -More user statistics can be added with the `monitored_variables` configuration option, this will add one attribute per user in addition to the users current `activity`. +More user statistics can be added with the `monitored_conditions` configuration option, this will add one attribute per user in addition to the users current `activity`. To find your `api_key` open the Tautulli web interface and navigate to `Settings` and then to `Web interface`, the `api_key` will be at the bottom of that page. @@ -63,11 +63,27 @@ monitored_users: description: A list of Tautulli users you want to monitor, if not set this will monitor **all** users. required: false type: list -monitored_variables: +monitored_conditions: description: A list of attributes to expose for each Tautulli user you monitor, every key in the `session` [section here][tautulliapi] can be used. required: false type: list {% endconfiguration %} +## {% linkable_title Full example for the configuration %} + +```yaml +# Example configuration.yaml entry +sensor: + - platform: tautulli + api_key: TAUTULLI_API_KEY + host: TAUTULLI_HOST + monitored_users: + - USER_1 + - USER_2 + monitored_conditions: + - ATTRIBUTE_1 + - ATTRIBUTE_2 +``` + [tautulli]: https://tautulli.com [tautulliapi]: https://github.com/Tautulli/Tautulli/blob/master/API.md#get_activity