twitch platform 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. Then get the Client ID for the new app.
To use Twitch with your installation, add the following to your
# Example configuration.yaml entry sensor: platform: twitch client_id: YOUR_TWITCH_CLIENT_ID channels: - channel1 - channel2