Skip to content

Withdraw the EVSE lock when the charger stops offering it - #320

Merged
cayossarian merged 1 commit into
prerelease/2.2from
fix/review-lock-and-evse-current
Oct 9, 2026
Merged

cayossarian merged 1 commit into
prerelease/2.2from
fix/review-lock-and-evse-current

Conversation

@cayossarian

Copy link
Copy Markdown
Member

The lock entity stayed available after its charger left the snapshot or stopped declaring the lock settable, so lock and unlock commands were sent and failed. It now reads unavailable whenever the charger offers no lock control, like the other EVSE controls. A new test covers both cases and fails without the fix. Full suite: 2443 passed, 1 skipped; all pre-commit hooks pass.

The lock entity stayed available after its charger left the snapshot or stopped declaring the lock settable, so a lock or unlock was sent and failed. It now reads unavailable whenever the charger offers no lock control, as the other EVSE controls are withdrawn.
@cayossarian
cayossarian merged commit 9ce2463 into prerelease/2.2 Oct 9, 2026
7 checks passed
@cayossarian
cayossarian deleted the fix/review-lock-and-evse-current branch October 9, 2026 22:10
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