Open lgwapnitsky opened 2 years ago
same here. with colorstop and colorstopgradient it does not adhere to the color_stops but just uses the actual stop color. meaning the gradient isn't in play at all.
for instance I have set colorstopgradient and these values:
color_stops:
0: 'blue'
17: 'yellow'
26: 'green'
28: 'orange'
40: 'red'
I would expect the scale.. if the entity value was 27 to start in blue.. gradientify to yellow then green and hints of orange. but the result is more.. lime-green
I do have the same problem. Colorstopgradient is unfortunately not working.
My current code is as follows:
but the color stays light blue. When I try to remove the single-quotes in the editor, HA keeps adding them back in. That may be the issue, but not sure how to resolve.
Thank you