home-assistant.io/source/_components/socialblade.markdown
Sean Mooney 7e5c79d15a Update socialblade.markdown (#9857)
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.
2019-07-16 09:28:38 +02:00

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
Multimedia
0.69 Cloud Polling
/components/sensor.socialblade/

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 %}