mattieha / slider-button-card

A button card with integrated slider
MIT License
435 stars 68 forks source link

slider option min value. #212

Open Nornode opened 2 years ago

Nornode commented 2 years ago

Is your feature request related to a problem? Please describe. I'm always frustrated when sliding a dimmer to the lowest value, it turns my lights off, not to 1% light.

Using the toggle to turn it off completely

Describe the solution you'd like on slider: definition implement a min: (And a max:) configuration.

e.g.:

    slider:
      direction: left-right
      background: gradient
      use_state_color: true
      use_percentage_bg_opacity: false
      force_square: false
      min: 1

Last line! ☝️

Describe alternatives you've considered Use another less nice card.

ASNNetworks commented 1 year ago

Yes, and while we're at it please also introduce a max variabel. Hate to turn up my speakers to high volume by accident ;) !