-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Enhanced sitemap SSE event with a new boolean field informing if the #2413
Conversation
@cweitkamp @kaikreuzer : that would be really cool if you could do a very fast review & merge. This is the core part of the changes necessary to trigger the handling of updated dynamic state/command description in any UI handling sitemaps. |
@mueller-ma @maniac103 : for your information in case you would like to handle that in the Android app. |
@timbms : for iOS app (in case the iOS app is based on the sitemap SSE events) |
2227a33
to
d49b8cb
Compare
item state or command description has been updated Listen to the new ChannelDescriptionChangedEvent Signed-off-by: Laurent Garnier <lg.hc@free.fr>
d49b8cb
to
230b4ae
Compare
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.
LGTM. Thanks.
Excellent, thank you. I will work on Basic UI enhancement today. @kaikreuzer : Please trigger again a new core rebuild for next snapshots. |
@lolodomo Do apps need changing at all? I'd think the new description values should be part of the event sent out, shouldn't they? |
Yes, the new state description / command description is part of the sent event. If you are already updating the command/state options when receiving such an event, that is perfect and you have nothing more to do. |
@maniac103 : excellent, I just tested the Android app and it works well. You have nothing to do ;) @timbms : can you give us a feedback for the iOS app ? Something to change or not ? |
@lolodomo Did so: https://ci.openhab.org/job/openHAB-Core/797/
Please note that we are officially now already in code freeze and I planned to do the RC1 build right now. If you think the Basic UI changes are straight forward and riskless, I'd give you until 1pm and postpone the RC1 build until then. Otherwise, I'd suggest to live without those changes for 3.1. |
A bit OT:
Does this also affect addons? I have one addition I'd really love to see in 3.1, but I'm not sure how to expedite code review there (or, for starters, getting this into the 3.1 milestone marker) |
I will try for 1pm French hour. |
@maniac103 Yes, it does. But as it is just 1pm, I have merged it for you :-) |
Too late for me, I encounter a difficulty to detect my new field, probably something stupid but I will find the solution only this evening. |
Ok, then I will start the RC1 build now - nonetheless, thanks for trying! |
…n the page was updated Related to openhab/openhab-core#2413 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
@kaikreuzer : my PR is now submitted (just 4 lines of code). |
Great, thank you! |
…n the page (#1120) Related to openhab/openhab-core#2413 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…ng if the (openhab#2413) item state or command description has been updated Listen to the new ChannelDescriptionChangedEvent Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…ng if the (openhab#2413) item state or command description has been updated Listen to the new ChannelDescriptionChangedEvent Signed-off-by: Laurent Garnier <lg.hc@free.fr> GitOrigin-RevId: 2d71afe
item state or command description has been updated
Listen to the new ChannelDescriptionChangedEvent
Signed-off-by: Laurent Garnier lg.hc@free.fr