Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple buttons #69

Open
Emyrk opened this issue Dec 1, 2023 · 0 comments
Open

Add support for multiple buttons #69

Emyrk opened this issue Dec 1, 2023 · 0 comments

Comments

@Emyrk
Copy link

Emyrk commented Dec 1, 2023

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:

  • Turn on adaptive lighting
  • Toggle light on/off

I want additional buttons for:

  • Scenes (essentially white vs warm)
  • Pull up the light info so the user can select the colors/scenes themselves.

This was an open issue in the original repo:

mattieha#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant