Customizable gauge coloring and allow repetition #9998
Unanswered
nivbromberg
asked this question in
Dashboard
Replies: 1 comment
-
I want it too. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When defining a gauge card, allow multiple colors (by name, RGB, hex code, or some other identifier).
Example syntax:
Or with hex codes:
(Or some other encoding YAML allows)
This is useful for non-trinary states (e.g. plant fertilization or traffic status).
I believe that this feature can also be used/applied to allow repetition of colors (in a way YAML allows).
In my case, my plant moisture gauge is defined as:
And I'd like both ends of the gauge (0-40 and 65-100) to be the same color.
A generalization of my case: too-low and too-high both represent the same meaning (=bad=red).
So I believe this feature will be useful.
Theme selecting, as available today, still limits it to 3-states and is much more complex to define than simple support in the YAML definition.
Beta Was this translation helpful? Give feedback.
All reactions