-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
[MainUI] Icon displayed for humidity is not depending on the value #534
Comments
I activated this behavior ( openhab-webui/bundles/org.openhab.ui/web/src/components/widgets/standard/list/default-list-item.js Line 96 in cd66d06
I'm not in favor of doing it for other types like Numbers or Strings by default because some could be changing frequently and that would mean too many icon requests. (Looking back even Group was a bad idea - some hold averages in their state etc.). You can enable it on an per-item basis by modifying its |
How complex is it just for selecting the icon !!! I just does not understand what to select and fill when I open the page you mention !!! |
Disallow standalone widgets to be selected for list items (close openhab#536). Allow slight alterations to the default widgets suggested by the system without reconfiguring it completely: if the metadata value is blank, assume the default system-suggested widget is to be used and merge the config found in the metadata. Closes openhab#534 (since now only the iconUseState option has to be set to enable dynamic icons for Number items and similar). Change the metadata namespace selection menu to only display the metadata which is set in the metadata menu, and use an action sheet to add more. This also paves the way for user-defined namespaces. Move the metadata order out of the item edition card in the Model page, into its own section. Add metadata editor for the expire namespace (openhab/openhab-core#1620). Reorder the sections of the item details page in a more logical manner (semantic classification below the tags that define it). Signed-off-by: Yannick Schaus <github@schaus.net>
Disallow standalone widgets to be selected for list items (close #536). Allow slight alterations to the default widgets suggested by the system without reconfiguring it completely: if the metadata value is blank, assume the default system-suggested widget is to be used and merge the config found in the metadata. Closes #534 (since now only the iconUseState option has to be set to enable dynamic icons for Number items and similar). Change the metadata namespace selection menu to only display the metadata which is set in the metadata menu, and use an action sheet to add more. This also paves the way for user-defined namespaces. Move the metadata order out of the item edition card in the Model page, into its own section. Add metadata editor for the expire namespace (openhab/openhab-core#1620). Reorder the sections of the item details page in a more logical manner (semantic classification below the tags that define it). Signed-off-by: Yannick Schaus <github@schaus.net>
The problem
The icon displayed for a humidity value is not depending on the item value.
In the following example, you can see the icon displayed for "Humidité dans le bureau".
Expected behavior
Display an icon depending on value, like in Basic UI:
Steps to reproduce
Use an item of this kind with icon "humidity":
And open any card that shows this item.
The text was updated successfully, but these errors were encountered: