Clean up component configuration instructions. (#6421)

This commit is contained in:
Robert Svensson 2018-10-02 21:45:09 +02:00 committed by Franck Nijhof
parent cf8e4aec6c
commit d3a0220344

View File

@ -31,39 +31,7 @@ Home Assistant will automatically discover deCONZ presence on your network, if `
If you don't have the API key, you can generate an API key for deCONZ by using the one-click functionality similar to Philips Hue. Go to **Settings** -> **Gateway** -> **Advanced** -> **Authenticate app** in deCONZ and then use the deCONZ configurator in Home Assistant frontend to create an API key. When you're done setting up deCONZ it will be stored as a config entry.
You can add the following to your `configuration.yaml` file if you are not using the `discovery:` component:
```yaml
# Example configuration.yaml entry
deconz:
host: IP_ADDRESS
```
{% configuration %}
host:
description: The IP address of your deCONZ web server.
required: false
type: string
api_key:
description: The API key to access your deCONZ web server.
required: false
type: string
port:
description: Configure port deCONZ web server is accessible from.
required: false
default: 80
type: int
{% endconfiguration %}
A full configuration could look like this:
```yaml
# Example configuration.yaml entry
deconz:
host: 127.0.0.1
api_key: 0123456789
port: 80
```
You can manually add deCONZ by going to the integrations page.
## {% linkable_title Debugging component %}