I've been working on a plugin to display some bitcoin/ethereum price data as well as monitor my mining machines.
I specifically want to change the color of the text drawn that shows the temperature based on the actual value. I thought the way to do this would be using SensorHasCustomDraw but I only see that get called when in the profile editor. How can I change the color of a sensor at runtime based on some data?
Do I need to carry a color variable around and set that on my update and then in my custom draw, draw that item using the custom color?
Thanks in advance!