ha-tdv-bar icon indicating copy to clipboard operation
ha-tdv-bar copied to clipboard

Using device friendly_name instead of sensor friendly_name

Open OppyLock opened this issue 11 months ago • 0 comments

If I add a sensor.foo_power to the entities list the card is picking up the devices friendly name instead of the sensors friendly name.

This makes it a bit tricky to use something like auto entities to feed the card when there are some devices that have multiple power sensors. They all end up with the same name.

I'm trying to add, and sort, all my power entities using this card with auto entities. Something like this.

type: custom:auto-entities
card:
  type: custom:tdv-bar-card
  title: Power Card
  trackingmode: 4
  show_header_toggle: false
filter:
  include:
    - entity_id: sensor.*_power
  exclude: []
show_empty: true
sort:
  method: state
  numeric: true
  reverse: true
  ip: false
  ignore_case: false

OppyLock avatar Mar 20 '24 05:03 OppyLock