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
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