mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-02 16:26:50 +00:00

* Sets front matter defaults * Removes default front matter from section templates/pages * Removes default front matter from addon pages * Removes default front matter from integration pages * Removes default front matter from posts * Removes default front matter from docs pages * Removes default front matter from other pages * Fixes blog category pages
1.1 KiB
1.1 KiB
title, description, logo, ha_category, ha_release, ha_iot_class, redirect_from
title | description | logo | ha_category | ha_release | ha_iot_class | redirect_from | ||
---|---|---|---|---|---|---|---|---|
Twitch | Instructions on how to integrate Twitch sensors into Home Assistant. | twitch.png |
|
0.10 | Cloud Polling |
|
The twitch
platform will allow you to monitor Twitch channel status from within Home Assistant and setup automation based on the information.
Setup
Create a new app at "Register Your Application" in the Twitch developer portal. Then get the Client ID for the new app.
Configuration
To use Twitch with your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
platform: twitch
client_id: YOUR_TWITCH_CLIENT_ID
channels:
- channel1
- channel2
{% configuration %} client_id: description: Your Twitch client ID. required: true type: string channels: description: List of channels. required: true type: map keys: channel_id: description: Name of the channel. {% endconfiguration %}