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.
To get the channel ID you can go to Social Blade Website 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:
To enable the sensor, add the following lines to your
# Example configuration.yaml entry sensor: - platform: socialblade channel_id: YOUR_CHANNEL_NUMBER
All the data will be fetch from Social Blade.