Mastering Home Assistant Templates: A Beginners Guide @SlackerLabs
Mastering Home Assistant Templates: A Beginners Guide  @SlackerLabs
Uploaded April 2023 | Updated September 2026, 3 weeks ago
Home Assistant Templates 101

Let's walk through everything you need to know to get started making templates. I explain the foundational blocks of templates, walk you through how to transform your home assistant data using math, and wrap it up giving to a look at some different ways you can use templates.

If you feel overwhelmed with #homeassistant templates, dont worry. After this video you will have everything you need to get started.

Code Examples:
Example Sensors:
github.com/thejeffreystone/homeassistant-config/blob/main/config/sensors/sensor.yaml

Jinja Examples from Temaplte Panel:
gist.github.com/thejeffreystone/54df3dec788df5170998416ac9a1ed47

Today Is / Month Is:
github.com/thejeffreystone/homeassistant-config/blob/34fd8aacbc744f41d78f44a071785fa21e41d605/config/sensors/house.yaml#L203

Jinja Resources:

Crash course for Beginners:
https://ultraconfig.com.au/blog/jinja2-a-crash-course-for-beginners/

Full Jinja Documentation (Use Search when needing syntax for functions):
jinja.palletsprojects.com/en/3.1.x

Video Chapters:
00:00 - Home Assistant Templates 101 - Intro
01:10 - Home Assistant Template Updates as of 2023.4
01:44 - What is Jinja?
03:07 - Template Basics: What do those Curly Braces mean?
06:57 - Home Assistant Entities in Templates
11:44 - Transform Home Assistant Entities using Templates
17:22 - Advance Templates - A Quick Look
23:00 - More to Come


Who am I?

My Name is Jeff. I am an DIY-er and Automator of boring things. And, of course, a huge Home Assistant fan. Oh, I also live in a house that tweets.

Follow Me:
Github - github.com/thejeffreystone
Twitter - twitter.com/thejeffreystone / twitter.com/slackerlabs
On the Web - slacker-labs.com
Discord - discord.gg/YkMKGHnahh

And if you like this video you could always fuel my automation habit -

Grab SlackerLabs Merch: https://slackerlabsmerch.square.site

One Time Donation:
Paypal: paypal.com/paypalme/SlackerLabs
Cash App: $slackerlabs
Buy me a coffee: buymeacoffee.com/icE6DeBut
.
Or use my Amazon affiliate link which provides a small commission on things you buy without additional cost to you - amazon.com/s/ref=as_li_ss_tl?k=Home+Automation&ref=nb_sb_noss_2&linkCode=ll2&tag=thejeffreysto-20&linkId=18622d75c4923c69c2b7488cec58ad5e&language=en_US

Video Gear:

Canon m50: amzn.to/3ftldPH
Desk Mic: amzn.to/3wkum40
Camera Mic: amzn.to/3tXk1cp
Newer 660: amzn.to/3fwwejd
Dazzne D50: amzn.to/3oGBK5y
Audio Interface: amzn.to/3u07chK
Gimble: amzn.to/3ouKAoe

Music - Epidemic Sound: epidemicsound.com/referral/o05z6m
Video Assets - LenoFx: http://i.refs.cc/CJXU6Da9?smile_ref=eyJzbWlsZV9zb3VyY2UiOiJzbWlsZV91aSIsInNtaWxlX21lZGl1bSI6IiIsInNtaWxlX2NhbXBhaWduIjoicmVmZXJyYWxfcHJvZ3JhbSIsInNtaWxlX2N1c3RvbWVyX2lkIjo3NzE2MjM1MTd9
Mastering Home Assistant Templates: A Beginners GuideTime to Come Clean About JarvisUse Home Assistant to Help Manage your Backyard Garden with a Local Rain GaugeA Better Home Assistant Integration for Arlo Security Cameras.Integrating a Dumb Washing Machine with Home AssistantWhy I think Smart Homes Feel BrokenSimplify Text Notifications in Home Assistant?Build One Script to Rule Them All in home AssistantAutomate the Dekala Arches Smart Lamp with Home Assistant using AmazonADD Storage to Home Assistant Yellow in Less Than 10 MinutesZWave or Zigbee? That is the Question.Easy Smart Curtains with Switchbot and Home Assistant
SlackerLabs |

Mastering Home Assistant Templates: A Beginner's Guide

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER