custom-cards / slider-button-card

A button card with integrated slider
MIT License
105 stars 16 forks source link

Step size < 1 #72

Closed BrukerJan closed 1 month ago

BrukerJan commented 5 months ago

Checklist:

Release with the issue:

Last working release (if known):

Browser and Operating System: Windows 10/11 Crome and Edge

Description of problem: If an 'input_number' has 'step_size' < 1, the card apparently cannot use this to change the value of the helper, but uses 'step_size' 1 instead. If I change the value using an 'entities_card' , which works, then the 'slider-button-card' displays the value correctly with decimals.

Javascript errors shown in the web inspector (if applicable):

Additional information:

jlopez77 commented 1 month ago

I think this is the same issue described in #66, maybe it should be merged.

rohankapoorcom commented 1 month ago

Thanks, closed as a dupe.