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

Improve handling of unexpected device responses #1913

Open
rytilahti opened this issue Mar 15, 2024 · 0 comments
Open

Improve handling of unexpected device responses #1913

rytilahti opened this issue Mar 15, 2024 · 0 comments
Labels
Milestone

Comments

@rytilahti
Copy link
Owner

Some devices are known to return unexpected payloads in some conditions and the current code is not robust enough to check against such and raise more appropriate exceptions.

The protocol code should be adjusted to wrap unexpected exceptions inside DeviceException to make it easier for downstreams to handle.

Case example: home-assistant/core#95669

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant