From ef210e4ae740f2eefd4ce2204dc7030a9d0742c1 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Fri, 5 Apr 2019 03:34:14 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9C=20Merges/Redirects=20Deluge=20comp?= =?UTF-8?q?onent=20pages=20(#9151)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🚜 Merges/Redirects Deluge component pages * :pencil2: Tweak --- source/_components/deluge.markdown | 70 ++++++++++++++++++++++- source/_components/sensor.deluge.markdown | 68 ---------------------- 2 files changed, 68 insertions(+), 70 deletions(-) delete mode 100644 source/_components/sensor.deluge.markdown diff --git a/source/_components/deluge.markdown b/source/_components/deluge.markdown index dd2da569174..ef80b12ce96 100644 --- a/source/_components/deluge.markdown +++ b/source/_components/deluge.markdown @@ -1,6 +1,6 @@ --- layout: page -title: "Deluge Switch" +title: "Deluge" description: "Instructions on how to integrate Deluge within Home Assistant." date: 2017-10-19 09:00 sidebar: true @@ -8,13 +8,79 @@ comments: false sharing: true footer: true logo: deluge.png -ha_category: Downloading +ha_category: + - Downloading + - Sensor + - Switch ha_release: 0.57 ha_iot_class: Local Polling redirect_from: - /components/switch.deluge/ + - /components/sensor.deluge/ --- +There is currently support for the following device types within Home Assistant: + +- [Sensor](#sensor) +- [Switch](#switch) + +## {% linkable_title Sensor %} + +The `deluge` platform allows you to monitor your downloads with [Deluge](http://deluge-torrent.org/) from within Home Assistant and setup automation based on the information. + +To enable this sensor, add the following lines to your `configuration.yaml`: + +```yaml +# Example configuration.yaml entry +sensor: + - platform: deluge + host: IP_ADDRESS + username: USERNAME + password: PASSWORD + monitored_variables: + - 'current_status' + - 'download_speed' + - 'upload_speed' +``` + +{% configuration %} +host: + required: true + type: string + description: This is the IP address of your Deluge daemon, e.g., 192.168.1.32. +port: + required: false + type: integer + description: The port your Deluge daemon uses. Warning, this is not the port of the WebUI. + default: 58846 +name: + required: false + type: string + default: Deluge + description: The name to use when displaying this Deluge instance. +username: + required: true + type: string + description: Your Deluge daemon username. +password: + required: true + type: string + description: Your Deluge daemon password. +monitored_variables: + required: true + type: list + description: Conditions to display in the frontend. + keys: + current_status: + description: The status of your Deluge daemon. + download_speed: + description: The current download speed. + upload_speed: + description: The current upload speed. + {% endconfiguration %} + +## {% linkable_title Switch %} + The `deluge` switch platform allows you to control your [Deluge](http://deluge-torrent.org/) client from within Home Assistant. The platform enables you switch all your torrents in pause, and then unpause them all. To add Deluge to your installation, add the following to your `configuration.yaml` file: diff --git a/source/_components/sensor.deluge.markdown b/source/_components/sensor.deluge.markdown deleted file mode 100644 index 0d3e16ace1d..00000000000 --- a/source/_components/sensor.deluge.markdown +++ /dev/null @@ -1,68 +0,0 @@ ---- -layout: page -title: "Deluge Sensor" -description: "Instructions on how to integrate Deluge sensors within Home Assistant." -date: 2017-10-24 17:06 -sidebar: true -comments: false -sharing: true -footer: true -logo: deluge.png -ha_category: Downloading -ha_release: 0.57 -ha_iot_class: Local Polling ---- - - -The `deluge` platform allows you to monitor your downloads with [Deluge](http://deluge-torrent.org/) from within Home Assistant and setup automation based on the information. - -To enable this sensor, add the following lines to your `configuration.yaml`: - -```yaml -# Example configuration.yaml entry -sensor: - - platform: deluge - host: IP_ADDRESS - username: USERNAME - password: PASSWORD - monitored_variables: - - 'current_status' - - 'download_speed' - - 'upload_speed' -``` - -{% configuration %} -host: - required: true - type: string - description: This is the IP address of your Deluge daemon, e.g., 192.168.1.32. -port: - required: false - type: integer - description: The port your Deluge daemon uses. Warning, this is not the port of the WebUI. - default: 58846 -name: - required: false - type: string - default: Deluge - description: The name to use when displaying this Deluge instance. -username: - required: true - type: string - description: Your Deluge daemon username. -password: - required: true - type: string - description: Your Deluge daemon password. -monitored_variables: - required: true - type: list - description: Conditions to display in the frontend. - keys: - current_status: - description: The status of your Deluge daemon. - download_speed: - description: The current download speed. - upload_speed: - description: The current upload speed. - {% endconfiguration %}