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: handle and log errors while fetching serial number #85

Merged
merged 1 commit into from
Jan 13, 2024
Merged

fix: handle and log errors while fetching serial number #85

merged 1 commit into from
Jan 13, 2024

Conversation

EuleMitKeule
Copy link
Contributor

This PR implements exception handling for connection errors that might occur when the FirmwareVersionSensor tries to fetch the serial number of the thermostat. The error is logged in a similar way as in climate.async_scan and the attempt to communicate with the thermostat is stopped.

Closes #84

@dbuezas dbuezas merged commit 3e67ef5 into dbuezas:main Jan 13, 2024
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.

Unhandled exceptions in fetch serial task
2 participants