From 8573d0baa77a25915a5dd7a76e0ac1706bd561a7 Mon Sep 17 00:00:00 2001 From: chriscla Date: Thu, 5 Sep 2019 21:51:29 -0700 Subject: [PATCH 1/2] Change nzbget to full component --- source/_components/nzbget.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/nzbget.markdown b/source/_components/nzbget.markdown index 375928a39cb8..73927aad451a 100644 --- a/source/_components/nzbget.markdown +++ b/source/_components/nzbget.markdown @@ -16,7 +16,7 @@ To use NZBGet with your installation, add the following to your `configuration.y ```yaml # Example configuration.yaml entry -sensor: +nzbget: platform: nzbget host: YOUR_NZBGET_HOST monitored_variables: From 66b985ebdec1a60fc0466f2e4151ff924475dd40 Mon Sep 17 00:00:00 2001 From: Chris Clark Date: Fri, 13 Sep 2019 21:49:53 -0700 Subject: [PATCH 2/2] Document creating nzbget sensors by default. --- source/_components/nzbget.markdown | 48 ++++++++++++------------------ 1 file changed, 19 insertions(+), 29 deletions(-) diff --git a/source/_components/nzbget.markdown b/source/_components/nzbget.markdown index 73927aad451a..91bffb6aedb6 100644 --- a/source/_components/nzbget.markdown +++ b/source/_components/nzbget.markdown @@ -12,17 +12,16 @@ redirect_from: The `nzbget` platform will allow you to monitor your downloads with [NZBGet](http://NZBGet.net) from within Home Assistant and setup automation based on the information. -To use NZBGet with your installation, add the following to your `configuration.yaml` file: +## Configuration + +To enable this component, add the following to your `configuration.yaml`: ```yaml # Example configuration.yaml entry nzbget: - platform: nzbget host: YOUR_NZBGET_HOST - monitored_variables: - - article_cache - - download_rate - - download_paused + username: YOUR_NZBGET_USERNAME + password: YOUR_NZBGET_PASSWORD ``` {% configuration %} @@ -53,27 +52,18 @@ password: required: false type: string description: The password to access your NZBGet installation. -monitored_variables: - required: true - type: list - description: List of monitored details. - keys: - article_cache: - description: Number of cached articles. - average_download_rate: - description: Average download rate - download_paused: - description: Paused downloads - download_rate: - description: Current download rate - download_size: - description: The size to download - free_disk_space: - description: Free disk space at the storage location of NZBGet - post_paused: - description: Paused posts - remaining_size: - description: Remaining size to download - uptime: - description: Uptime of NZBGet {% endconfiguration %} + +## Sensor + +This component will create these sensors: + +- `article_cache`: Number of cached articles. +- `average_download_rate`: Average download rate +- `download_paused`: Paused downloads +- `download_rate`: Current download rate +- `download_size`: The size to download +- `free_disk_space`: Free disk space at the storage location of NZBGet +- `post_paused`: Paused posts +- `remaining_size`: Remaining size to download +- `uptime`: Uptime of NZBGet