APIs Part 2 - Pull Images and Display in Custom Card - HTML & Template Data

Опубликовано: 28 Март 2026
на канале: This Smart House
3,314
76

Today's video is part 2 of our look at retrieving data from an API and displaying it in Home Assistant. We look at how to pull information from the YouTube API and display the latest video from any YouTube channel. We show you how to install a custom Lovelace card that lets you use Home Assistant template information and HTML to make a truly custom card. We pull the latest thumbnail, title, and link from any channel.

Check out Part 1 here:    • Pull Data From The Web & Display In Home A...  

If you would like me to cover any specific API, just let me know!

❓What future topics would you like me to cover??❓

▶ Buy Me A Beer 🍻: [https://www.buymeacoffee.com/ThisSmar...](https://www.buymeacoffee.com/ThisSmar...)

▶ Timestamps
00:00 - Opening
00:45 - Part #1 - Overview
01:20 - Part 1.2 - Overview of API Calls
04:29 - Part #2 - Install Custom Card
07:39 - Part #3 - Setting up Card
08:13 - Part 3.2 - Building Thumbnail Link
10:07 - Part 3.3 - Building Clickable Title
11:27 - Part 3.4 - Swapping YouTube Channels
12:07 - Part #4 - Other Ideas

▶ Links in Video:
(I use [Rebrand.ly](http://rebrand.ly/) for my URL shortening)
Fun APIs - [https://tshouse.link/templatecard](https://tshouse.link/templatecard)
Blog Post for Video - [https://tshouse.link/yt16post](https://tshouse.link/yt15post)

Background for Thumbnail by luis gomes from Pexels

▶ Product Links:
(When available, we use affiliate links and may earn a commission!)
My Main Home Automation Gear ([Kit.co](http://kit.co/)): [https://tshouse.link/homekit](https://tshouse.link/homekit)
My Z-Wave Home Automation Gear ([Kit.co](http://kit.co/)): [https://tshouse.link/zwave](https://tshouse.link/zwave)

▶ Get a One-Month Trial of Great Music for Creators (I use this on my photography channel): [https://tshouse.link/sound](https://tshouse.link/sound)

▶ Website: [https://thissmart.house](https://thissmart.house/)