Closed Nickduino closed 1 month ago
Color thresholds is a global option. There is a PR for making thresholds per entity: https://github.com/kalkih/mini-graph-card/issues/153
There is a PR for making thresholds per entity: #153
Ok. But that was a secondary question.
Can you tell me why my first example didn't work while the second did (so, one dynamic line and one light blue line) with nearly the same code?
“line_color” is a global option. It is mainly supposed to be used for a single-entity card. Otherwise it is supposed to be defined as a list - for many-entities card. For static colors, it is advised to use a “color” option per-entity. If defined - it overrides “color_thresholds”.
Based on said:
Thank you!
This might be me but I don't get why this doesn't work:
While this does :
What if I wanted dynamic colors for both lines (but with different thresholds)? How could I do that?