Came upon this thread, when i was looking for something similar. Just wanted to mention that i found this, and it works great: GitHub - Gasp96/range-slider-card: Custom card for Home Assistant that allows adjusting two input_number or two input_datetime values with a single slider, making it possible to select and define a custom value range.
found in this discussion: Card with slider range