Using Variable in Gauge Segments

I have a gauge that shows the current humidity level in my house. It would be more useful if I had a red and green segment on the gauge. The values for the segments will change with outside temperature. I have a variable, $HumidityTarget that I would like to use in segment definition.

Example:
Segment 1: Min=0 , max=$HumidityTarget
Segment 2: Min=$HumidityTarget, max=100

Is there a way to do this?

Not with the native Super Tile Gauges implementation as you define the static segments using fixed numeric ranges.

In theory, you could probably modify the Gauge.js Custom Tile to have dynamic segments but it would be a custom implementation so you would need to have the relevant developer skills to accomplish it.