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

Wildcard entity list renaming #4

Open
SpangleLabs opened this issue Apr 26, 2024 · 2 comments
Open

Wildcard entity list renaming #4

SpangleLabs opened this issue Apr 26, 2024 · 2 comments

Comments

@SpangleLabs
Copy link
Owner

SpangleLabs commented Apr 26, 2024

If matching a set of entities by wildcard, it would be nice to be able to apply some rename pattern to them.

For example, if I've got a graph configured with:

graph:
  - entities:
      - entity: sensor.*_plug_*_summation_delivered

It would be great to have a way to rename all the resulting series such that I can remove the "Summation Delivered" from them all, while keeping their unique names.

Perhaps something simple like mirroring sed syntax, with s/regex_pattern/replace/

@erkr
Copy link

erkr commented May 13, 2024

That would be a nice feature for including groups as well: #7

@hipslu
Copy link

hipslu commented Nov 11, 2024

indeed, that would be a nice feature!

and / or allow to change the width of the name, as otherwise it's not readable at the moment
image

Upate: found labelAreaWidth - so width is already possible, just didn't see it, sry

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

3 participants