home-assistant.io/source/_components/switch.deluge.markdown
cgtobi ff0f41fe50 Fix deluge configuration (#6748)
* Fix deluge configuration

* Fix eg.,

* Fix required username and password

* Add default
2018-10-13 21:55:34 +02:00

54 lines
1.4 KiB
Markdown

---
layout: page
title: "Deluge Switch"
description: "Instructions on how to integrate Deluge within Home Assistant."
date: 2017-10-19 09:00
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` 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:
```yaml
# Example configuration.yaml entry
switch:
platform: deluge
host: IP_ADDRESS
username : USERNAME
password : PASSWORD
```
{% configuration %}
host:
required: true
type: string
description: This is the IP address of your Deluge daemon, eg., 192.168.1.32.
username:
required: true
type: string
description: Your Deluge username, if you use authentication.
password:
required: true
type: string
description: Your Deluge password, if you use authentication.
port:
required: false
type: integer
default: 58846
description: "The port your Deluge daemon uses. (Warning: This is not the port of the WebUI.)"
name:
required: false
type: string
default: Deluge Switch
description: The name to use when displaying this Deluge instance.
{% endconfiguration %}