Closed migromao closed 4 years ago
accomplish the goal with media_extract
- platform: scrape resource: 'https://www.youtube.com/feeds/videos.xml?channel_id=UCD05wSHBU1h3RxgcWk5QSRw' name: yt_gearbest value_template: '{{ value }}' select: yt\:videoid
the WebOS component plays Youtube videos based on youtube IDs
would it be possible for this sensor to provide as same as URL of last video of channel, also the video ID ? something like:
url: 'https://www.youtube.com/watch?v=jQexIevhSFo' published: '2020-06-14T20:55:20+00:00' live: false friendly_name: DrZzs icon: 'mdi:youtube' videoID: jQexIevhSFo