Skip to content

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.

  • “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

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 on a configurable refresh interval so data stays current.

{{ states.binary_sensor | selectattr('state', 'eq', 'on')
| selectattr('attributes.device_class', 'eq', 'door')
| list | count }} doors open

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.

Don’t want to write a template from scratch? Start with a built-in preset:

  • Home Status — Shows lights on, unlock status, and people home in a single tile

Presets give you a working template you can customize to fit your setup.

In the editor, add a tile and switch it to Template mode. Write your Jinja2 template and set the refresh interval. You can customize the tile’s icon, colors, and size like any other tile.