Input_select on a slider? input_number with only specific values?

Hey all,

I’m trying to set up something in between an input_select and an input_number:

I have 4 values to choose from, say 4, 5, 6, and 10.

I’d like to be able to select from these values on a slider manner, but not allowing me to select anything between 6 and 10.

Temporarily, I’ve taken the approach of an input_select, but that one only shows on the UI as a dropdown, not fitting my needs.

Is there a way to do this?

Thank you!

Perhaps input_number with range of 1-4 and the template sensor that would translate these values to what you expect. E.g.
1 → 4
2 → 5
3 → 6
4 → 10
Alternatively small automation that would call input_select.set_value depending on what state input_number value got set to. Not the most elegant solutions, but wouyld do the trick of using slider and to ‘skip unwanted’ values.