Battery-state-card truncating entity value

Any idea why the values for Battery Notes “sensor.*last_seen” entities are getting truncated? I made the card the full width of the section.

type: custom:auto-entities
card:
  type: custom:battery-state-card
  sort_by_level: asc
filter:
  include:
    - entity_id: sensor.*last_seen
grid_options:
  columns: full
  rows: auto
sort:
  method: last_changed
  numeric: true

Thanks in advance,
Robert

The thread’s title explicitly says “auto-entities truncates labels”.
But have you tried with that “custom:battery-state-card” w/o auto-entities?
I do not think that auto-entities can make that custom card to cut )))).
I would suggest you to:
– retest with that “custom:battery-state-card” alone;
– rename the thread correspondingly since the title is misleading.

Changing the YAML (keeping only one “custom:”) to:

type: custom:auto-entities
card:
  type: entities
  state_color: true
filter:
  include:
    - entity_id: sensor.*last_seen
grid_options:
  columns: full
  rows: auto
sort:
  method: last_changed
  numeric: true

gives me something different, but workable. Any insight on how to filter out values less than 24 hours old?

There is a thread for auto-entities. Besides, this thread’s title is still misleading.
(imho using a “template” option of auto-entities is the only way)

@Ildar_Gabdullin, thanks. I’ll delete this thread and post my exclude question in the auto-entities thread.

Please do not delete it. Just rename (reflect that particular battery card).
And if you find a solution for truncating with that custom card - post it here for others.

Renamed to “auto-entities with battery-state-card truncating entity value”

Better “battery-state-card truncating entity value” - “auto-entities” is not related here: check with a bare “battery-state-card” and you probably will get same result.