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

Support of command options #2655

Closed
lolodomo opened this issue Jul 13, 2021 · 4 comments · Fixed by #2959
Closed

Support of command options #2655

lolodomo opened this issue Jul 13, 2021 · 4 comments · Fixed by #2959
Labels
enhancement Indicates new feature requests

Comments

@lolodomo
Copy link
Contributor

Items with command options are currently rendered as a simple switch (commands are so ignored).

These items, when associated to a Switch widget, should be rendered similar as items with state options, that is with one button for each command/state.

PS: I was planning to replace few switch channels in bindings by string channels with command options, but until it is supported by the Android app, it is not worth it.

@lolodomo lolodomo added the enhancement Indicates new feature requests label Jul 13, 2021
@mueller-ma
Copy link
Member

Is there a difference between "command options" and "item options" (as in #912)?

@lolodomo
Copy link
Contributor Author

lolodomo commented Jul 14, 2021

No real difference in UI perspective.
But for command options, you will not receive state updates because this is used with channels that have no state.

@mueller-ma
Copy link
Member

Can you post a rest api response of an item with command options?

mueller-ma added a commit to mueller-ma/openhab.android that referenced this issue Jun 26, 2022
Fixes openhab#2655

Signed-off-by: mueller-ma <[email protected]>
mueller-ma added a commit to mueller-ma/openhab.android that referenced this issue Jul 24, 2022
Fixes openhab#2655

Signed-off-by: mueller-ma <[email protected]>
mueller-ma added a commit that referenced this issue Jul 28, 2022
Fixes #2655

Signed-off-by: mueller-ma <[email protected]>
@lolodomo
Copy link
Contributor Author

Thank you

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

Successfully merging a pull request may close this issue.

2 participants