thomasloven/lovelace-fold-entity-row

Allow header row to display entity attribute instead of sensor value

Closed this issue · 2 comments

Allow the head entity to display an attribute instead of the normal value.

This is possible using the Entities card with 'attribute: name' and would be amazing if also made possible with this fold-entity-row.

Suggested addition:

type: custom:fold-entity-row
head:
  entity: sensor.server_disk_utalization
  name: Disk usage
  attribute: Percentage <-- new capability to display this as the header row value
entities:
  - entity: sensor.server_temperature
  - entity: sensor.server_fan_speed

Are you sure that this is not already supported?
Check with a PROPER syntax:

  entity: sensor.server_disk_utalization
  name: Disk usage
  type: attribute
  attribute: REAL name of the attribute, not displayed one

The header row IS a normal row from the entities card. Not a copy - the very same. Anything you can do in a standard entities card, you can do in fold-entity-row.