Skip to content

4.8.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@jpettitt jpettitt released this 24 Jul 04:43

What's new

Jinja templating, rendered server-side by Home Assistant and updated live whenever the entities a template references change. Any supported option containing {{ }} is treated as a template: name, icon, icon_color, secondary_info text, hide_if (string form or hide_if.template), and the new template: option that replaces the displayed value entirely. Each template gets an entity variable holding the owning entity's id.

- type: custom:multiple-entity-row
  entity: sensor.next_ferry
  name: "Next ferry {{ state_attr(entity, 'time') }}"
  hide_if: "{{ is_state('binary_sensor.ferry_service', 'off') }}"
  entities:
    - entity: sensor.travel_time
      template: "{{ states(entity) | round(0) }} min"

Full documentation: docs/templating.md. Notes: a template: result is shown verbatim — do rounding in the template, format: is ignored. hide_if templates hide on true/yes/on/1. Templated rows open directly in the code editor.

Addresses #409, #35, #249, #278, #247, #254, #269, #270 — these close with the 4.8.0 final release.

Full Changelog: v4.7.1...v4.8.0-beta.1