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

Restore before checking input entities at startup #76

Merged
merged 1 commit into from
May 23, 2024
Merged

Conversation

pnbruckner
Copy link
Owner

Input entities were being checked at startup before restore process started. This could cause an extremely out-of-date input entity to change the composite's state to a really old value/location and abort the restore process.

In order to properly reject out-of-date inputs, the restore process should happen first, which is what the PR does.

Fixes #75

@pnbruckner pnbruckner merged commit 54caacf into master May 23, 2024
4 checks passed
@pnbruckner pnbruckner deleted the fix-restore branch May 23, 2024 14:22
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.

Old input entity restored data can cause invalid update
1 participant