Adding NZBGet queue control services (#10454)

* Adding NZBGet queue control services

* ✏️ Tweak
This commit is contained in:
chriscla 2019-10-01 17:30:22 -07:00 committed by Franck Nijhof
parent cbe3fd28e6
commit cacd810353

View File

@ -8,7 +8,7 @@ ha_iot_class: Local Polling
ha_release: 0.17 ha_release: 0.17
--- ---
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. The `nzbget` platform will allow you to monitor and control your downloads with [NZBGet](http://NZBGet.net) from within Home Assistant and setup automation based on the information.
## Configuration ## Configuration
@ -65,3 +65,17 @@ This component will create these sensors:
- `post_paused`: Paused posts - `post_paused`: Paused posts
- `remaining_size`: Remaining size to download - `remaining_size`: Remaining size to download
- `uptime`: Uptime of NZBGet - `uptime`: Uptime of NZBGet
## Services
Available services:
- `pause`: Pause the download queue.
- `resume`: Resume the download queue.
- `set_speed`: Set the download queue speed limit.
### Service `nzbget/set_speed`
| Service data attribute | Optional | Description |
|------------------------|----------|-------------------------------------------------------------------------------------------------|
| `speed` | yes | Sets the download speed limit, specified in Kb/s. 0 disables the speed limit. Defaults to 1000. |