gauge-card
gauge-card copied to clipboard
Severities only work in the order green->orange->red
Severities are based on the assumption that, always lower values are good and higher values are bad. Which means: The value for green is supposed to be smaller, than the value for red.
This is actually not the case for a lot of use cases... like showing the SOC of a battery.
It would be nice, if we could specify severities and their colors in a random order. They should be applied to the element in the order they were configured.
Hello,
It also works for battery level. I am using it to measure the battery voltage of my blink cameras.
For example:
severity:
red: 0
amber: 20
green: 50
A value between 0 to 19 will show up as red, 20 to 49 as amber and green above 50.
For temperature, humidity, ... which needs to be in a reverse order, you can set it this way:
severity:
green: 0
amber: 20
red: 50
Hope that helps.