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

fix: add reconnect logic for websocket #37

Merged
merged 3 commits into from
Jan 27, 2024

Conversation

firstof9
Copy link
Contributor

Proposed change

Have the coordinator reconnect to the websocket if the websocket connection disconnects.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (which adds functionality to an this integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • The code has been formatted using Black (black --fast custom_components)

If user exposed functionality or configuration variables are added/changed:

  • Documentation added/updated to README.md

@catduckgnaf catduckgnaf marked this pull request as ready for review January 27, 2024 22:07
@catduckgnaf catduckgnaf merged commit 90b74d5 into catduckgnaf:main Jan 27, 2024
8 of 9 checks passed
@firstof9 firstof9 deleted the ws-reconnect branch February 1, 2024 19:58
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.

2 participants