history-explorer-card
history-explorer-card copied to clipboard
Wildcard entity list renaming
trafficstars
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/