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

Updates to modbus disconnect #723

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

WillCodeForCats
Copy link
Owner

This PR adds some things used in HA core to our disconnect function.

  • Delay 1 second on modbus close (idea from core PR#130038)
  • Delete client object (from modbus core integration)
  • Catch exceptions from close() (from modbus core integration)

@WillCodeForCats WillCodeForCats added the update Update or change to something label Jan 4, 2025
@WillCodeForCats WillCodeForCats self-assigned this Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update Update or change to something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant