my-cards icon indicating copy to clipboard operation
my-cards copied to clipboard

[Feature]: Round Slider

Open dvbit opened this issue 3 years ago • 2 comments

Is your feature request related to a problem?

Feature request. Love your work. Should be in Core. It would be wonderful to have this also : https://github.com/thomasloven/round-slider

Thanks again

Describe the solution you'd like

A round slider for thermostat etc...

Describe alternatives you've considered

No response

Additional context

No response

dvbit avatar Nov 30 '22 23:11 dvbit

Would love this also, looking for a card with similar functionality to the Google Home ChromeCast volume sliders. image

mukowman avatar Dec 14 '22 05:12 mukowman

Thank you for the request.

I will start our by saying, I don't even know how to start implementing something like this in the slider-v2 because all the math calculating the position of the slider and the actual value for the entity, relies upon X/Y values compared to start/end of the slider.

Making it round like this would require some serious refactoring in the slider-v2 and I just don't think it would be possible without breaking a ton of other logic.

It would probably be possible in the original slider. Since it relies on the HTML input slider element. But I don't know if I will ever have the time to implement it in that. When I finally do get time to update the cards, it will be to address some of all the problems regarding HACS.

AnthonMS avatar Dec 14 '22 12:12 AnthonMS