mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Rename Services to Actions in integrations: Q (#33825)
This commit is contained in:
parent
02dce15a8f
commit
bdb4c8a7b2
@ -35,14 +35,14 @@ The qBittorrent integration will add the following sensors:
|
||||
- `sensor.qbittorrent_inactive_torrents`: The current inactive torrents in qBittorrent.
|
||||
- `sensor.qbittorrent_paused_torrents`: The current paused torrents in qBittorrent.
|
||||
|
||||
## Services
|
||||
## Actions
|
||||
|
||||
### Service `qbittorrent.get_torrents`
|
||||
### Action `qbittorrent.get_torrents`
|
||||
|
||||
This service populates [Response Data](/docs/scripts/service-calls#use-templates-to-handle-response-data)
|
||||
This action populates [Response Data](/docs/scripts/service-calls#use-templates-to-handle-response-data)
|
||||
with a dictionary of torrents based on the provided filter.
|
||||
|
||||
| Service data attribute | Optional | Description | Example |
|
||||
| Data attribute | Optional | Description | Example |
|
||||
| ---------------------- | -------- | ---------------------------------------------- | --------------------------------------------------- |
|
||||
| `device` | no | The device you'd like to check the torrents of | all, active, inactive, paused, downloading, seeding |
|
||||
| `torrent_filter` | no | The type of torrents you want in the response | all, active, inactive, paused, downloading, seeding |
|
||||
@ -56,12 +56,12 @@ response_variable: torrents
|
||||
|
||||
The response data contains the field `torrents` which contains a dictionary of torrents. The names of the torrents are the keys.
|
||||
|
||||
### Service `qbittorrent.get_all_torrents`
|
||||
### Action `qbittorrent.get_all_torrents`
|
||||
|
||||
This service populates [Response Data](/docs/scripts/service-calls#use-templates-to-handle-response-data)
|
||||
This action populates [Response Data](/docs/scripts/service-calls#use-templates-to-handle-response-data)
|
||||
with a dictionary of torrents based on the provided filter.
|
||||
|
||||
| Service data attribute | Optional | Description | Example |
|
||||
| Data attribute | Optional | Description | Example |
|
||||
| ---------------------- | -------- | --------------------------------------------- | --------------------------------------------------- |
|
||||
| `torrent_filter` | no | The type of torrents you want in the response | all, active, inactive, paused, downloading, seeding |
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user