Add number to sabnzbd and remove deprecated custom action (#35846)

This commit is contained in:
Jan-Philipp Benecke 2024-11-21 21:57:24 +01:00 committed by GitHub
parent 527e8d2ba9
commit e0cb5558c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,7 @@ ha_domain: sabnzbd
ha_platforms:
- sensor
- button
- number
ha_integration_type: integration
---
@ -52,15 +53,6 @@ This integration will create two buttons:
- Pause the download queue.
- Resume the download queue.
## Actions
## Number
Available actions:
- `set_speed`: Set the download queue speed limit.
### Action `sabnzbd.set_speed`
| Data attribute | Optional | Description |
|------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `speed` | yes | Sets the download speed limit. If specified as a number with no units, will be interpreted as a percent. If units are provided (e.g., 500K) will be interpreted absolutely. Defaults to 100 |
| `api_key` | no | The SABnzbd API key of the service instance (unique per SABnzbd integration). |
This integration will create a number entity to set the download queue speed limit in percentage.