Skip to content

Filter template in version 1.16.1 breaks history-graph in 2025.6 #555

Open
@BorisVolkovyski

Description

@BorisVolkovyski

Before update to 1.16.1 my card worked perfectly
On 1.16.1 it only shows "Configuration error" and no messages in browser DevTools Console
Chrome Version 137.0.7151.120 (Official Build) (64-bit)
HAOS 15.2
Supervisor 2025.05.5
HA Core 2025.6.1

type: custom:auto-entities
card:
  title: Running
  type: history-graph
  hours_to_show: 24
filter:
  template: |-
    {% set STATES = states 
        | selectattr('entity_id', 'in', integration_entities('hassio')) -%}
    {%- for STATE in STATES -%}
      {%- if(STATE.entity_id.endswith('_running'))  -%}
        {%- set short_name = state_attr(STATE.entity_id, 'friendly_name')
             .replace('Home Assistant', '')
             .replace('& Web Terminal', '') -%}
        {{ { 'entity': STATE.entity_id, 
             'name': short_name } }},
      {%- endif -%}
    {%- endfor %}
  exclude:
    - name: Home Assistant Core*
    - name: Home Assistant Supervisor*
    - name: Home Assistant Operating System*
sort:
  method: name
layout_options:
  grid_columns: 8
  grid_rows: auto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions