1.4 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_config_flow, ha_codeowners, ha_domain, ha_platforms, ha_integration_type, google_dev_console_link, api, api_link
title description ha_category ha_release ha_iot_class ha_config_flow ha_codeowners ha_domain ha_platforms ha_integration_type google_dev_console_link api api_link
YouTube Instructions on how to integrate YouTube within Home Assistant.
Sensor
2023.6 Cloud Polling true
@joostlek
youtube
diagnostics
sensor
service https://console.cloud.google.com/apis/library/youtube.googleapis.com YouTube Data API v3 https://console.cloud.google.com/apis/library/youtube.googleapis.com?project=home-assistant-17698

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

  • Views count
  • Subscriber count
  • The latest uploaded video

Prerequisites

To be able to configure the {% term integration %}, you need to have a YouTube channel. To learn how to create one, refer to the YouTube documentation.

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.

{% include integrations/google_client_secret.md %}

{% include integrations/config_flow.md %}

{% include integrations/google_oauth.md %}