mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-14 23:18:57 +00:00

* Adding markdown and imagie for USCIS sensor * Update the markdown * Update sensor.uscis.markdown * Update sensor.uscis.markdown * Update sensor.uscis.markdown * Minor changes * Add :markdown for social blade * Update links * Update links * Update sensor.uscis.markdown * Remove USCIS docmenetation from this branch * Update sensor.socialblade.markdown * Update sensor.socialblade.markdown
38 lines
1.2 KiB
Markdown
38 lines
1.2 KiB
Markdown
---
|
|
layout: page
|
|
title: Social Blade Sensor
|
|
description: "Instructions on how to set up Social Blade Sensor within Home Assistant."
|
|
date: 2018-04-23 08:00
|
|
sidebar: false
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
logo: socialblade.png
|
|
ha_category: Sensor
|
|
ha_release: 0.69
|
|
ha_iot_class: "Cloud Polling"
|
|
---
|
|
|
|
The `socialblade` sensor component 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/)
|
|
|
|
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}
|
|
|
|
## Example for `configuration.yaml` :
|
|
|
|
```yaml
|
|
sensor:
|
|
- platform: socialblade
|
|
channel_id: YOUR_CHANNEL_NUMBER
|
|
```
|
|
|
|
{% configuration %}
|
|
channel_id:
|
|
description: channel id number optained from the URL when you access Social Blade web client.
|
|
required: true
|
|
type: string
|
|
{% endconfiguration %}
|
|
|
|
All the data will be fetch from [Social Blade]( https://socialblade.com/).
|