From 83d07f9b9ee60679b1c648198156c93226aefa6c Mon Sep 17 00:00:00 2001 From: Chris Xiao <30990835+chrisx8@users.noreply.github.com> Date: Mon, 3 Apr 2023 03:36:43 -0400 Subject: [PATCH] Add config flow to qbittorrent (#25028) --- source/_integrations/qbittorrent.markdown | 33 ++--------------------- 1 file changed, 2 insertions(+), 31 deletions(-) diff --git a/source/_integrations/qbittorrent.markdown b/source/_integrations/qbittorrent.markdown index 2b1ba37ec96..1b67f69b98e 100644 --- a/source/_integrations/qbittorrent.markdown +++ b/source/_integrations/qbittorrent.markdown @@ -4,6 +4,7 @@ description: Instructions on how to integrate qBittorrent sensors within Home As ha_category: - Downloading ha_release: 0.84 +ha_config_flow: true ha_iot_class: Local Polling ha_domain: qbittorrent ha_codeowners: @@ -19,37 +20,7 @@ The `qbittorrent` platform allows you to monitor your downloads with [qBittorren 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. -## Configuration - -To enable this sensor, add the following lines to your `configuration.yaml`: - -```yaml -# Example configuration.yaml entry -sensor: - - platform: qbittorrent - url: "http://:" - username: YOUR_USERNAME - password: YOUR_PASSWORD -``` - -{% configuration %} -url: - description: The URL of the Web UI of qBittorrent. - required: true - type: string -name: - description: The name to use when displaying this qBittorrent instance. - required: false - type: string -username: - description: The username of the Web UI of qBittorrent. - required: true - type: string -password: - description: The password of the Web UI of qBittorrent. - required: true - type: string -{% endconfiguration %} +{% include integrations/config_flow.md %} ## Sensors