Auto Entities - Template round(0)

Struggling to figure out how to round(0) my sensor values within a Auto-Entities card, if anyone can please check my code. Appreciate

Sorry, here is the code:

type: custom:auto-entities
card:
  type: grid
  columns: 3
card_param: cards
filter:
  template: |
        {% for state in states.sensor %}
            {{ sensor.entity_id }}={{ state.state | round (0) }}
        {% endfor %}
  include:
    - entity_id: sensor.*_power
      options:
        type: entity
  exclude:
    - entity_id: sensor.cerbo*
show_empty: true
sort:
  method: state
  reverse: true
  numeric: true

Currently there’s no possibility to do that with a default card like entity card. You have to use a template card (like markdown or mushroom).