The Twitch integration will allow you to monitor Twitch channel status from within Home Assistant and setup automation based on the information.
Create a new app at Register Your Application in the Twitch developer portal. Enter
https://my.home-assistant.io/redirect/oauth in the OAuth Redirect URL field. Then, get the Client ID and Client secret from the new application.
To add the Twitch integration to your Home Assistant instance, use this My button:
If the above My button doesn’t work, you can also perform the following steps manually: