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

Missing "Unit" selection for the metadata of a Group Item #1933

Closed
jswim788 opened this issue Jun 22, 2023 · 1 comment · Fixed by #1936
Closed

Missing "Unit" selection for the metadata of a Group Item #1933

jswim788 opened this issue Jun 22, 2023 · 1 comment · Fixed by #1936
Assignees
Labels
bug Something isn't working main ui Main UI

Comments

@jswim788
Copy link

I have a Group Item that has Number:Dimensionless. I would like to set the Unit metadata to "%", but it isn't selectable in the MainUI. I can use the custom metadata, but I should be able to select it directly as is possible with non-Group Items.

Expected behavior

Should be able to select Unit metadata for Group Items.

Steps to reproduce

  1. Create a Group Item
  2. Try to add Unit metadata - can't see that choice in the MainUI

Your environment

OH 4 Build 3502

Browser console

Browser network traffic

Additional information

@jswim788 jswim788 added bug Something isn't working main ui Main UI labels Jun 22, 2023
@jswim788
Copy link
Author

@jswim788 jswim788 changed the title No "Unit" selection for the metadata of a Group Item Missing "Unit" selection for the metadata of a Group Item Jun 22, 2023
@florian-h05 florian-h05 self-assigned this Jun 24, 2023
florian-h05 added a commit to florian-h05/openhab-webui that referenced this issue Jun 24, 2023
Fixes openhab#1933.
Follow-up for openhab#1901.

This enables the unit metadata for UoM groups (i.e. groups with a groupType of `Number:`).

Signed-off-by: Florian Hotze <[email protected]>
ghys pushed a commit that referenced this issue Jun 28, 2023
Fixes #1933.
Follow-up for #1901.

This enables the unit metadata for UoM groups (i.e. groups with a
groupType of `Number:`).

--
Signed-off-by: Florian Hotze <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants