Add buttons to sabnzbd and remove deprecated custom actions (#35834)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Jan-Philipp Benecke 2024-11-20 09:30:14 +01:00 committed by GitHub
parent c529fde261
commit 7bdc030ad3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@ ha_codeowners:
ha_domain: sabnzbd
ha_platforms:
- sensor
- button
ha_integration_type: integration
---
@ -44,27 +45,19 @@ This integration will create these sensors:
- `weekly_size`: GB downloaded this week. (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
Available actions:
- `pause`: Pause the download queue.
- `resume`: Resume the download queue.
- `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`
| Data attribute | Optional | Description |