mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 03:07:14 +00:00
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.
This commit is contained in:
parent
56d0dcf61a
commit
7e5c79d15a
@ -10,11 +10,11 @@ redirect_from:
|
|||||||
- /components/sensor.socialblade/
|
- /components/sensor.socialblade/
|
||||||
---
|
---
|
||||||
|
|
||||||
The `socialblade` sensor platform allows you get updates on a Youtube channel using your social blade channel ID. The sensor gets the subscribers and total views count from [Social Blade Website](https://socialblade.com).
|
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](https://socialblade.com).
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
To get the channel ID you can go to [Social Blade Website](https://socialblade.com) and search for Youtube channel by username, then select the channel and grab the ID from the URL. The channel ID will be the last part of the URL: `https://socialblade.com/youtube/channel/{channel_id}`
|
To get the YouTube channel ID, search for and select the channel on the [Social Blade website](https://socialblade.com). The channel ID will be at the end of the Social Blade URL: `https://socialblade.com/youtube/channel/{channel_id}`
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
@ -24,14 +24,12 @@ To enable the sensor, add the following lines to your `configuration.yaml` file:
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
- platform: socialblade
|
- platform: socialblade
|
||||||
channel_id: YOUR_CHANNEL_NUMBER
|
channel_id: YOUTUBE_CHANNEL_ID
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
channel_id:
|
channel_id:
|
||||||
description: Channel id number optained from the URL when you access Social Blade web client.
|
description: YouTube channel ID.
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
All the data will be fetch from [Social Blade]( https://socialblade.com/).
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user