Add examples for restoring only a group of Items, fix a doubled word - #2766
Open
ML19821 wants to merge 1 commit into
Open
Add examples for restoring only a group of Items, fix a doubled word#2766ML19821 wants to merge 1 commit into
ML19821 wants to merge 1 commit into
Conversation
…led word The persistence page shows how to restore items at startup, but has no example for the common setup of persisting all items while restoring only the members of a selected group. Add a short example to the restore section, and remove a doubled "strategies strategies" in the Items section. Signed-off-by: Martin Littkovsky <2018turtle@proton.me> AI-assisted-by: Claude Code
✅ Thanks for your pull request to the openHAB documentation! The result can be previewed at the URL below (this comment and the preview will be updated if you add more commits).Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Problem
The persistence page explains
restoreOnStartupand warns against restoring everything, but has no example for the common setup in between: persist all Items, restore only a selected group. It also contains a doubled word ("strategies strategies") in the Items section.Changes
restoreOnStartup), once with disjoint entries (*, !gRestore*) for the case where the group entry carries store strategies of its own.Note: for the additive example, the persistence health check currently reports a false "missing store strategy" warning — known issue openhab/openhab-core#5777, fix in review (openhab/openhab-core#5778). The configuration itself works as documented.
The example mirrors a configuration running on the author's production system.
This patch was developed with AI assistance (Claude); every commit carries an AI-assisted-by trailer.