Template Tiles
Template tiles show custom data using Home Assistant’s Jinja2 template language — the same syntax used in HA dashboards and automations. When a single entity tile isn’t enough, templates let you combine, calculate, and format anything.
Examples
Section titled “Examples”- “3 doors open” — Count your open door sensors
- “72°F / 45% humidity” — Combine multiple readings on one tile
- “Welcome home!” when you arrive, “Away” when you leave
- Current energy usage in kWh — Sum across multiple power sensors
- “Washer done in 12 min” — Countdown based on a timer entity
- “Next: Team Meeting 2pm” — Pull from your calendar
How It Works
Section titled “How It Works”Templates are evaluated by Home Assistant’s built-in template API. The app sends your Jinja2 template to HA and displays the result on the tile. Templates re-evaluate when you tap the tile or pull down to refresh the page — there’s no timed auto-refresh.
{{ states.binary_sensor | selectattr('state', 'eq', 'on') | selectattr('attributes.device_class', 'eq', 'door') | list | count }} doors openLive Preview
Section titled “Live Preview”The editor includes a Preview panel with an Evaluate button. Tap it to send your template to Home Assistant’s template API in real-time — you’ll see exactly how it renders before saving. No more guessing whether your Jinja2 syntax is right.
Inline Icons
Section titled “Inline Icons”Template output can embed SF Symbols with an [icon:symbolName] marker — for example [icon:lightbulb.fill] {{ lights }} on renders the bulb glyph inline on the tile. Several built-in examples use it.
Presets
Section titled “Presets”Don’t want to write a template from scratch? Start with one of the built-in examples and customize it:
- Home Status — lights on, lock status, and people home in one tile
- Lights On — count of lights currently on
- Doors Open — count of open door sensors
- Lock Status — how many locks are secured
- Who’s Home — which tracked people are home
- Weather — current condition and temperature
- Temp + Humid — temperature and humidity together
- Last Motion — the most recent motion-sensor trigger
Each gives you a working template you can edit. (In the editor, this section is labeled Examples.)
In the editor, add a tile and switch it to Template mode. Write your Jinja2 template and tap Evaluate to preview it. You can customize the tile’s icon, colors, and size like any other tile.