mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Remove service from qBittorrent docs (#30690)
This commit is contained in:
parent
481419b7dd
commit
41a6db990e
@ -8,8 +8,8 @@ ha_config_flow: true
|
||||
ha_iot_class: Local Polling
|
||||
ha_domain: qbittorrent
|
||||
ha_codeowners:
|
||||
- '@geoffreylagaisse'
|
||||
- '@finder39'
|
||||
- "@geoffreylagaisse"
|
||||
- "@finder39"
|
||||
ha_platforms:
|
||||
- sensor
|
||||
ha_integration_type: service
|
||||
@ -34,25 +34,3 @@ The qBittorrent integration will add the following sensors:
|
||||
- `sensor.qbittorrent_active_torrents`: The current active torrents in qBittorrent.
|
||||
- `sensor.qbittorrent_inactive_torrents`: The current inactive torrents in qBittorrent.
|
||||
- `sensor.qbittorrent_paused_torrents`: The current paused torrents in qBittorrent.
|
||||
|
||||
## Services
|
||||
|
||||
### Service `qbittorrent.get_torrents`
|
||||
|
||||
This service 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 |
|
||||
| ---------------------- | -------- | ----------- | --------|
|
||||
| `filter` | no | The type of torrents you want in the response | all, active, inactive, paused, downloading, seeding
|
||||
|
||||
</div>
|
||||
|
||||
```yaml
|
||||
service: qbittorrent.get_torrents
|
||||
data:
|
||||
filter: 'all'
|
||||
response_variable: torrents
|
||||
```
|
||||
|
||||
The response data contains the field `torrent_info` which contains a dictionary of torrents. The name of the torrents are the keys.
|
||||
|
Loading…
x
Reference in New Issue
Block a user