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.
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:
To enable the sensor, add the following lines to your
# Example configuration.yaml entry sensor: - platform: socialblade channel_id: YOUTUBE_CHANNEL_ID