Add Socialblade Markdown (#5237)

* 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
This commit is contained in:
Mohamad Tarbin 2018-05-05 13:07:24 -04:00 committed by Paulus Schoutsen
parent 496150eeae
commit 65ab88cd5d
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
---
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/).

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB