Skip to content

Stop taking write counts from restore state - #23

Merged
Varitras merged 1 commit into
mainfrom
feature/no-restore-state-takeover
Oct 28, 2026
Merged

Varitras merged 1 commit into
mainfrom
feature/no-restore-state-takeover

Conversation

@Varitras

Copy link
Copy Markdown
Owner

Home Assistant 2026.11 removes RestoreStateData.last_states. The write
counts read it once to take over what the counter sensors held before the
counts had a store, so a new entry, or one updated from 2.0.x, failed to
set up there. Without a store the counts now start at 0.

Home Assistant 2026.11 removes RestoreStateData.last_states, so a new
entry failed to set up. An entry without a store now starts at 0.
@Varitras
Varitras merged commit aee7f7b into main Oct 28, 2026
10 checks passed
@Varitras
Varitras deleted the feature/no-restore-state-takeover branch October 28, 2026 19:08
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