Currently I am using Metric visualization to show a status of different devices:
In this metric I am showing the last status and split the group by device id. Additionally I defined ranges and selected a color scheme to highlight the background.
The problem is, that we have multiple values across the range, which need the same color. E.g.:
0x00000000 should be green
0x00000001 to 0x0000FFFF should be red
0x00010000 should be yellow
0x00010001 to 0x0001000F should be red
0x00010010 should be yellow again
So I need to assign my own colors for each defined range and can't apply a scheme.
I found out, that metric in lens is supporting this in general. But I can't split my values by device id (and creating a visualisation for each device will take too much time) and I can define the color by value for "unique count" but not for "Last value", which would be needed.
Is there any other way?