mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-12-10 00:30:02 -06:00
Streamlined the page a little bit. Corrected capitalizations in brand names, corrected some confusing info (at one point it refers to it as a "social blade channel ID" even though it's a YouTube channel ID). Fixed some typos, shortened instructions a bit, removed a duplicate line at the end (since it's mentioned in the intro already). Also in the example config changed "YOUR_CHANNEL_NUMBER " to "YOUTUBE_CHANNEL_ID" because you can use any channel, not just "your" own. Channel ID's contain letters too so "number" isn't really accurate, better to just say ID.
1.0 KiB
1.0 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 | ||
|---|---|---|---|---|---|---|---|---|
| Social Blade Sensor | Instructions on how to set up Social Blade Sensor within Home Assistant. | socialblade.png |
|
0.69 | Cloud Polling |
|
The socialblade sensor platform allows you to monitor a YouTube channels subscriber count and total views count. The sensor retrieves data from the Social Blade website.
Setup
To get the YouTube channel ID, search for and select the channel on the Social Blade website. The channel ID will be at the end of the Social Blade URL: https://socialblade.com/youtube/channel/{channel_id}
Configuration
To enable the sensor, add the following lines to your configuration.yaml file:
# Example configuration.yaml entry
sensor:
- platform: socialblade
channel_id: YOUTUBE_CHANNEL_ID
{% configuration %} channel_id: description: YouTube channel ID. required: true type: string {% endconfiguration %}