Skip to content

Commit 61ecddc

Browse files
committed
qbittorrent: implement config_flow
1 parent fd79950 commit 61ecddc

File tree

1 file changed

+2
-31
lines changed

1 file changed

+2
-31
lines changed

source/_integrations/qbittorrent.markdown

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Instructions on how to integrate qBittorrent sensors within Home As
44
ha_category:
55
- Downloading
66
ha_release: 0.84
7+
ha_config_flow: true
78
ha_iot_class: Local Polling
89
ha_domain: qbittorrent
910
ha_codeowners:
@@ -19,37 +20,7 @@ The `qbittorrent` platform allows you to monitor your downloads with [qBittorren
1920

2021
This sensor requires the qBittorrent Web UI enabled. The [official reference](https://github.com/qbittorrent/qBittorrent/wiki#webui-related) describes how to set up the Web UI.
2122

22-
## Configuration
23-
24-
To enable this sensor, add the following lines to your `configuration.yaml`:
25-
26-
```yaml
27-
# Example configuration.yaml entry
28-
sensor:
29-
- platform: qbittorrent
30-
url: "http://<hostname>:<port>"
31-
username: YOUR_USERNAME
32-
password: YOUR_PASSWORD
33-
```
34-
35-
{% configuration %}
36-
url:
37-
description: The URL of the Web UI of qBittorrent.
38-
required: true
39-
type: string
40-
name:
41-
description: The name to use when displaying this qBittorrent instance.
42-
required: false
43-
type: string
44-
username:
45-
description: The username of the Web UI of qBittorrent.
46-
required: true
47-
type: string
48-
password:
49-
description: The password of the Web UI of qBittorrent.
50-
required: true
51-
type: string
52-
{% endconfiguration %}
23+
{% include integrations/config_flow.md %}
5324

5425
## Sensors
5526

0 commit comments

Comments
 (0)