Beautiful major changes! 🌈 Gradients and more 🛠️ templates!
🌈 Add gradient
Adds a gradient toggle to change the looks from the default Home Assistant Gauge to a beautiful gradient! Use gradientResolution (optional; low, medium, high) to set the level of detail.
gradient: true
gradientResolution: high🛠️ Add segmentsTemplate and severityTemplate
Allows using templates for segments or severity specific separate parameters (segmentsTemplate, severityTemplate)
Example segmentsTemplate
segmentsTemplate: |-
{{
[
{ "from": 0, "color": "#4caf50" },
{ "from": 25, "color": "#8bc34a" },
{ "from": 50, "color": "#ffeb3b" },
{ "from": 75, "color": "#ff9800" },
{ "from": 100, "color": "#f44336" },
{ "from": 125, "color": "#926bc7" },
{ "from": 150, "color":"#795548" }
]
}}Example severityTemplate
severityTemplate: |-
{{
{
"red": 0,
"yellow": 20,
"green": 30
}
}}