From 7bdc030ad38542b720d55c6da2b98ea1230cdb85 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Wed, 20 Nov 2024 09:30:14 +0100 Subject: [PATCH] Add buttons to sabnzbd and remove deprecated custom actions (#35834) Co-authored-by: Franck Nijhof --- source/_integrations/sabnzbd.markdown | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/source/_integrations/sabnzbd.markdown b/source/_integrations/sabnzbd.markdown index 677df8dce38..c9db68dffa0 100644 --- a/source/_integrations/sabnzbd.markdown +++ b/source/_integrations/sabnzbd.markdown @@ -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 |