Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using device friendly_name instead of sensor friendly_name #12

Open
OppyLock opened this issue Mar 20, 2024 · 0 comments
Open

Using device friendly_name instead of sensor friendly_name #12

OppyLock opened this issue Mar 20, 2024 · 0 comments

Comments

@OppyLock
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant