Update configuration description (#5722)

This commit is contained in:
Fabian Affolter 2018-07-09 20:22:26 +02:00 committed by Franck Nijhof
parent d07bf0e11b
commit fc01fd4609

View File

@ -16,6 +16,8 @@ ha_iot_class: "Cloud Polling"
The `twitch` platform will allow you to monitor [Twitch](http://www.twitch.tv/) channel status from within Home Assistant and setup automation based on the information.
## {% linkable_title Configuration %}
To use Twitch with your installation, add the following to your `configuration.yaml` file:
```yaml
@ -27,8 +29,13 @@ sensor:
- channel2
```
Configuration variables:
- **channels** array (*Required*): Array of channels.
- **channel_name** (*Required*): Name of the channel.
{% configuration %}
channels:
description: List of channels.
required: true
type: map
keys:
channel_id:
description: Name of the channel.
{% endconfiguration %}