mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Add buttons to sabnzbd and remove deprecated custom actions (#35834)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
c529fde261
commit
7bdc030ad3
@ -13,6 +13,7 @@ ha_codeowners:
|
|||||||
ha_domain: sabnzbd
|
ha_domain: sabnzbd
|
||||||
ha_platforms:
|
ha_platforms:
|
||||||
- sensor
|
- sensor
|
||||||
|
- button
|
||||||
ha_integration_type: integration
|
ha_integration_type: integration
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -44,27 +45,19 @@ This integration will create these sensors:
|
|||||||
- `weekly_size`: GB downloaded this week. (disabled by default)
|
- `weekly_size`: GB downloaded this week. (disabled by default)
|
||||||
- `monthly_total`: GB downloaded this month. (disabled by default)
|
- `monthly_total`: GB downloaded this month. (disabled by default)
|
||||||
|
|
||||||
|
## Button
|
||||||
|
|
||||||
|
This integration will create two buttons:
|
||||||
|
|
||||||
|
- Pause the download queue.
|
||||||
|
- Resume the download queue.
|
||||||
|
|
||||||
## Actions
|
## Actions
|
||||||
|
|
||||||
Available actions:
|
Available actions:
|
||||||
|
|
||||||
- `pause`: Pause the download queue.
|
|
||||||
- `resume`: Resume the download queue.
|
|
||||||
- `set_speed`: Set the download queue speed limit.
|
- `set_speed`: Set the download queue speed limit.
|
||||||
|
|
||||||
### Action `sabnzbd.pause`
|
|
||||||
|
|
||||||
| Data attribute | Optional | Description |
|
|
||||||
|------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
||||||
| `api_key` | no | The SABnzbd API key of the service instance (unique per SABnzbd integration). |
|
|
||||||
|
|
||||||
### Action `sabnzbd.resume`
|
|
||||||
|
|
||||||
| Data attribute | Optional | Description |
|
|
||||||
|------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
||||||
| `api_key` | no | The SABnzbd API key of the service instance (unique per SABnzbd integration). |
|
|
||||||
|
|
||||||
### Action `sabnzbd.set_speed`
|
### Action `sabnzbd.set_speed`
|
||||||
|
|
||||||
| Data attribute | Optional | Description |
|
| Data attribute | Optional | Description |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user