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

[persistence] Fix forecast for externally changed data #4089

Merged
merged 1 commit into from Feb 13, 2024

Conversation

J-N-K
Copy link
Member

@J-N-K J-N-K commented Feb 13, 2024

Fixes #4087

Data added from the REST API is immediately stored in the selected persistence service, bypassing the PersistenceManager. Because of that the future values are not correctly "restored".

Data added from the REST API is immediately stored in the selected persistence service, bypassing the `PersistenceManager`. Because of that the future values are not correctly "restored".

Signed-off-by: Jan N. Klug <github@klug.nrw>
@J-N-K J-N-K added the bug An unexpected problem or unintended behavior of the Core label Feb 13, 2024
@J-N-K J-N-K requested a review from a team as a code owner February 13, 2024 13:50
Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@kaikreuzer kaikreuzer merged commit d3fa049 into openhab:main Feb 13, 2024
3 checks passed
@kaikreuzer kaikreuzer added this to the 4.2 milestone Feb 13, 2024
@J-N-K J-N-K deleted the fix-forecasts branch February 13, 2024 20:59
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[persistence] forecast strategy not working for states added by REST API
2 participants