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

Extending on/off switch entity to multi-state switch or list entity #29

Open
wawa79 opened this issue Sep 30, 2023 · 1 comment
Open

Comments

@wawa79
Copy link

wawa79 commented Sep 30, 2023

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

Anticipating the openHAB integration, I wonder how will be modeled openHAB items with multiple states. For example : house mode can be AWAY/HOME/NIGHT, alarm modes, audio inputs, light scene modes... Plenty of my items are multistate item.

Describe the solution you'd like

It would be great to "extend" the switch to a multistate switch that could display as a list, a dropdown list or a multi-options item. Such an item could handle the commands NEXT and PREVIOUS to change from one mode to the next (as TOGGLE does for a 2-states switch)

Describe alternatives you've considered

No idea how to model multistate items by now !

Additional context

@zehnm
Copy link
Contributor

zehnm commented Feb 22, 2024

This is likely related to Home Assistant's input and input_select entities: unfoldedcircle/feature-and-bug-tracker#211

Selecting an item from a list will is a planned feature and will be added to the supported entities.

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

2 participants