custom-cards / slider-button-card

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

Add support for multiple buttons #69

Open Emyrk opened 7 months ago

Emyrk commented 7 months ago

Is your feature request related to a problem? Please describe.

I am looking to support multiple buttons on the slider for different actions. My actions are currently:

I want additional buttons for:

This was an open issue in the original repo:

https://github.com/mattieha/slider-button-card/issues/16

For climate controls, this could be useful.

For music, a "skip song" button would be useful.

Solution

Ability to add additional buttons. Layout maybe inline the existing "toggle" button, or place in the bottom right corner?

Alternative

I debated having buttons just under my toggles, but that takes more space. I like the slider being the background for the entire set of elements.

Screenshot from 2023-12-01 11-01-13

I've looked into "overlay" type cards, but didn't find anything that could work.