Template functions

Home Assistant extends the Jinja2 template engine with many custom functions, filters, and tests. Each one has its own page with detailed descriptions, parameters, and practical examples.

New to templates? Start with the templating documentation to learn the basics.

Areas

Collections

Comparison

Date & Time

Devices

Encoding

Entities

Floors

Functional

Labels

Math

Regex

Repairs

States

Strings

Type Conversion