Dual color slider

Hello, I have been trying to figure out how to represent two values in a slider using colors.
My goal is to have a single slider and make it represent two values.

  1. The set temperature(which is adjustable using the slider)
  2. The real temperature(it’s not adjustable, live from mqtt)
    Here is a picture I have photoshoped
    Red is the real temperature.
    Green is the set temperature.
    Any help is appreciated :slight_smile: