YouTube


The YouTube integration allows you to connect YouTube channels to Home Assistant. For every channel you add, it will create sensors for:

  • Subscriber count
  • The latest uploaded video

Prerequisites

To be able to configure the integration, you need to have a YouTube channel. How to create one can be found here.

You need to configure developer credentials to allow Home Assistant to access your Google Account. These credentials are the same as the ones for Nest, Google Mail and Google Sheets. These are not the same as the one for Google Calendar. If you have already set up the correct credentials, you can do step 1 and then skip to step 13 on the below instructions.

Configuration

To add the YouTube integration to your Home Assistant instance, use this My button:

The integration setup will next give you instructions to enter the Application Credentials (OAuth Client ID and Client Secret) and authorize Home Assistant to connect to YouTube.