Skip to content

Add examples for restoring only a group of Items, fix a doubled word - #2766

Open
ML19821 wants to merge 1 commit into
openhab:mainfrom
ML19821:docs/persistence-restore-only-example
Open

Add examples for restoring only a group of Items, fix a doubled word#2766
ML19821 wants to merge 1 commit into
openhab:mainfrom
ML19821:docs/persistence-restore-only-example

Conversation

@ML19821

@ML19821 ML19821 commented Aug 19, 2026

Copy link
Copy Markdown

Description

Problem

The persistence page explains restoreOnStartup and 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

  • Add two examples to "Restoring Item States on Restart" for the common setup the page warns towards but never shows: persist all Items, restore only the members of one group — once via the additive entry semantics (group entry carries only restoreOnStartup), once with disjoint entries (*, !gRestore*) for the case where the group entry carries store strategies of its own.
  • Note explicitly that a store strategy listed in several entries matching the same Item stores the Item once per entry — a consequence of the additive semantics the page did not spell out before.
  • Fix the doubled word "strategies strategies".

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.

…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
@netlify

netlify Bot commented Aug 19, 2026

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 917fc23
🔍 Latest deploy log https://app.netlify.com/projects/openhab-docs-preview/deploys/6a85fcb4228cf50008d9b38f
😎 Deploy Preview https://deploy-preview-2766--openhab-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant