How to put state data in a state label

For the life of me I cannot figure out how to display sensor data (last changed) in a state label (within a picture entity card). I can see the the data in an entity card, but no way to access it in a state label.

Screen Shot 2025-02-07 at 11.09.06 AM

But no way to get at that data in a state label…

Screen Shot 2025-02-07 at 11.33.45 AM

This is not an Entity card (more similar to Glance card), and this does not seem to be a Picture entity (more similar to Tile card).

Thanks for a reply, but No idea what those “this” refers to. So I’m none the wiser. I can assure you the first screen IS an tile card. And the last one IS a picture elements card, trying to use a state label.

Now simply compare names of cards from your first post and from the latest.
Not going to convince or argue.

As for picture elements: you cannot select “last_changed” or “last_updated” for a state-label element.
Currently it seems to be possible for Tile card only.
Perhaps you should create a Discussion for this feature request - add “last-changed” and “last-updated” for state-label in Picture elements.
What you can do as a workaround:

  • add a custom card as an element - hui-element wrapping Glance or Tile card;
  • remove border and background from this card.