How to get "metadata" out from a entity visible to UI?

For example, the Neato integration provides entity called “vacuum.robot”.
If you open the entity, it provides more text based information, such as “Clean start”, which indicates the time when was the robot last started.

I’m trying to get that “Clean start” information to show as a text on a front page, without need to separately open the entity to find that information. It must either be super simple or totally impossible, as so far I haven’t found a method to do so.

There are a few add-ons that can display additional attribute information. If you use HACS then search for frontend integrations mentioning Attribute and you’ll see a handful (i.e., Multiple Entity Row and Entity Attribute Card). Otherwise you could create a device template that extracts the attribute of the vacuum as its state and use that entity instead of the vacuum to get what you are after.

For example:


vacuum_clean_start:
  unique_id: vacuum_clean_start
  friendly_name: "Vacuum Clean Start"
  value_template: "{{ state_attr('vacuum.neato', 'clean_start') }}"

2 Likes