Custom Secondary Info for Entities Card

The m-e-r card may be modded by card-mod to achieve this:

Go to huge card-mod thread → 1st post → link at the bottom → styles for m-e-r

Have no idea how standard badges can be embedded into standard entity-row or custom ones like m-e-r or secondaryinfo-entity-row.

Thanks Ildar! Yeah, not exactly badges I was looking for, but meanwhile something like this card might work out as well :slight_smile: thanks for taking your time dude!

Is it possible to have a weblink (URL) in a secondary info? If so please show an example.

Hi, can I put the status of another sensor as secondary_info?

For example:

entity: sensor.xxx
secondary_info: “[[ sensor.yyy.state ]]”

try

      - type: custom:secondaryinfo-entity-row
        entity: ...
        secondary_info: >-
          {{ states('sun.sun') }}

Not working.
I tried these ways:

`[[ sensor.timestamp_nani_ibeacon_0b2f.attributes.state ]]

{{ state_attr(‘sensor.timestamp_nani_ibeacon_0b2f’, ‘state’) }}

“[[ sensor.timestamp_nani_ibeacon_0b2f.state ]]”

{{ states(‘sensor.timestamp_nani_ibeacon_0b2f’) }}`

Are you admin?

you used the same entity, my question was different

It does not matter.

From all my hearth, I hope you are not waiting 6 years for that, but from your message (which looks like is using the same card I’m trying to set right now), I went into a rabbit hole, and found a way to show up in a formated way.

This is my card:
image

It is Chore Helper that relies on the auto-entities card to show up. When a task is manual, I struggle to see when was done last time. And this was my solution (mine + google + chatGPT + DevTool + 100 tries):

type: custom:auto-entities
card:
  type: entities
  title: No Date
  state_color: true
  show_header_toggle: true
filter:
  include:
    - integration: chore_helper
      state 1: unknown
      options:
        tap_action:
          action: call-service
          service: chore_helper.complete
          service_data:
            entity_id: this.entity_id
        hold_action:
          action: more-info
        double_tap_action:
          action: more-info
        type: custom:secondaryinfo-entity-row
        secondary_info: >-
          Last time done: {{ states.this.entity_id.attributes.last_completed |
          as_timestamp | timestamp_custom('%d.%m.%Y %H:%M') }}
sort:
  method: state
  numeric: true
show_empty: false

I hope that if doesn’t you, help someone in the future. Cheers!

Bom dia. Eu gostaria de colocar com segunda Info o last period do sensor. Como poderei fazer. Sou novo nestas andanças.
Obrigado