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

Ensure sitemap subscriptions are updated on Group Items #4552

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

digitaldan
Copy link
Contributor

@digitaldan digitaldan commented Jan 10, 2025

Fixes an issue where sitemaps containing group items that change, only update when a subscription times out (30 seconds)

I noticed while troubleshooting our IOS client that the sitemap i use for the apple watch would not update in realtime, only every 30 seconds. Turns out this sitemap only has group items, and our SitemapResource was not subscribing to those events. This is a pretty small change, i would recommend to back port as well.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
@digitaldan digitaldan requested a review from a team as a code owner January 10, 2025 20:37
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@wborn wborn merged commit f8d34d9 into openhab:main Jan 11, 2025
2 checks passed
@wborn wborn added the bug An unexpected problem or unintended behavior of the Core label Jan 11, 2025
@wborn wborn added this to the 5.0 milestone Jan 11, 2025
holgerfriedrich pushed a commit that referenced this pull request Jan 11, 2025
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
@holgerfriedrich holgerfriedrich added the patch A PR that has been cherry-picked to a patch release branch label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core patch A PR that has been cherry-picked to a patch release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants