Skip to content

Stop reconnecting the web socket once its session is closed - #252

Open
walthowd wants to merge 1 commit into
bretterer:mainfrom
walthowd:fix/closed-session
Open

walthowd wants to merge 1 commit into
bretterer:mainfrom
walthowd:fix/closed-session

Conversation

@walthowd

@walthowd walthowd commented Nov 14, 2026 •

Copy link
Copy Markdown

On Home Assistant shutdown the shared HTTP session closes before the client does, so the web socket monitor tried to reconnect and logged "Session is closed" as an error on every restart. It now stops quietly.

When Home Assistant stops, it closes the shared HTTP session before the
integration closes the client. The web socket monitor then tried to
reconnect with the closed session and logged "Session is closed" as an
error on every restart. Stop the monitor quietly instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxWHBTrHU6eTPotwMWgtJF
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