-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
[sitemap] Add new "staticIcon" parameter #3735
Conversation
Could you also update https://github.com/openhab/openhab-core/blob/f5a0b37b3dfc2bc188c6f80dca96b91a0fd72b6e/bundles/org.openhab.core.ui/src/main/java/org/openhab/core/ui/internal/components/UIComponentSitemapProvider.java? We can then add support for configuring it in mainUI as well. |
7204c6b
to
980aa3a
Compare
Done |
When set on a sitemap element, Basic UI ignores the item state when initially requesting the OH icon and do not request it again when the item state is updated. Depends on openhab/openhab-core#3735 Related to openhab/openhab-android#3404 Signed-off-by: Laurent Garnier <[email protected]>
@openhab/core-maintainers : a review would be appreciated, it is only 35 new lines. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When set, the UI should not provide the item state when requestiong the OH icon and should not request again the icon when the item state is updated. Related to openhab/openhab-android#3404 Signed-off-by: Laurent Garnier <[email protected]>
980aa3a
to
79b163a
Compare
Ok, changed. |
When set on a sitemap element, Basic UI ignores the item state when initially requesting the OH icon and do not request it again when the item state is updated. Depends on openhab/openhab-core#3735 Related to openhab/openhab-android#3404 Signed-off-by: Laurent Garnier <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a great solution - thank you!
When set on a sitemap element, Basic UI ignores the item state when initially requesting the OH icon and do not request it again when the item state is updated. Depends on openhab/openhab-core#3735 Related to openhab/openhab-android#3404 Signed-off-by: Laurent Garnier <[email protected]>
When set on a sitemap element, Basic UI ignores the item state when initially requesting the OH icon and do not request it again when the item state is updated. Depends on openhab/openhab-core#3735 Related to openhab/openhab-android#3404 Signed-off-by: Laurent Garnier <[email protected]> Signed-off-by: Stefan Höhn <[email protected]>
When set on a sitemap element, Basic UI ignores the item state when initially requesting the OH icon and do not request it again when the item state is updated. Depends on openhab/openhab-core#3735 Related to openhab/openhab-android#3404 Signed-off-by: Laurent Garnier <[email protected]> Signed-off-by: jgeorgi <[email protected]>
When set on a sitemap element, Basic UI ignores the item state when initially requesting the OH icon and do not request it again when the item state is updated. Depends on openhab/openhab-core#3735 Related to openhab/openhab-android#3404 Signed-off-by: Laurent Garnier <[email protected]> Signed-off-by: jgeorgi <[email protected]>
When set on a sitemap element, Basic UI ignores the item state when initially requesting the OH icon and do not request it again when the item state is updated. Depends on openhab/openhab-core#3735 Related to openhab/openhab-android#3404 Signed-off-by: Laurent Garnier <[email protected]>
Related to openhab/openhab-core#3735 --------- Signed-off-by: Mark Herwege <[email protected]>
Related to openhab/openhab-core#3735 Signed-off-by: Laurent Garnier <[email protected]>
Related to openhab/openhab-core#3735 Signed-off-by: Laurent Garnier <[email protected]>
Related to openhab/openhab-core#3735 Signed-off-by: Laurent Garnier <[email protected]>
Related to openhab/openhab-core#3735 Signed-off-by: Laurent Garnier <[email protected]>
* [sitemap] New parameter staticIcon Related to openhab/openhab-core#3735 Signed-off-by: Laurent Garnier <[email protected]> * Review comment: choosing the icon Signed-off-by: Laurent Garnier <[email protected]> --------- Signed-off-by: Laurent Garnier <[email protected]>
When set, the UI should not provide the item state when requestiong the OH icon and should not request again the icon when the item state is updated.
Related to openhab/openhab-android#3404
Signed-off-by: Laurent Garnier [email protected]