mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Update configuration description (#5722)
This commit is contained in:
parent
d07bf0e11b
commit
fc01fd4609
@ -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 %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user