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 invoking Thing actions from the Thing details page #2817

Closed
florian-h05 opened this issue Oct 21, 2024 · 0 comments · Fixed by #2818
Closed

Add support for invoking Thing actions from the Thing details page #2817

florian-h05 opened this issue Oct 21, 2024 · 0 comments · Fixed by #2818
Assignees
Labels
enhancement New feature or request main ui Main UI

Comments

@florian-h05
Copy link
Contributor

Refs openhab/openhab-core#4392.

The REST API is in place and provides config descriptions and input type mappings for Thing actions, so we can finally add the missing UI.

@florian-h05 florian-h05 added enhancement New feature or request main ui Main UI labels Oct 21, 2024
@florian-h05 florian-h05 self-assigned this Oct 21, 2024
florian-h05 added a commit to florian-h05/openhab-webui that referenced this issue Oct 21, 2024
…utput

Refs openhab/openhab-core#4392.
Closes openhab#2817.

This adds a new section "Actions" to the Thing tab of the Thing page,
which provides a button for each UI-supported Thing action.
Clicking on that button will open a popup,
where action input can be configured and action output can be viewed.

Currently, action output is displayed for actions with a single output,
as well as for the `result`, `qrPairingCode` and `manualPairingCode` keys of the response object.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
florian-h05 added a commit to florian-h05/openhab-webui that referenced this issue Oct 21, 2024
…utput

Refs openhab/openhab-core#4392.
Closes openhab#2817.

This adds a new section "Actions" to the Thing tab of the Thing page,
which provides a button for each UI-supported Thing action.
Clicking on that button will open a popup,
where action input can be configured and action output can be viewed.

Currently, action output is displayed pretty for the `result`, `qrPairingCode` and `manualPairingCode` keys of the response object.
In addition to that, the raw output can be viewed.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request main ui Main UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant