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

Add BleakCharacteristicNotFoundError #1439

Merged
merged 4 commits into from
Nov 18, 2023
Merged

Conversation

emontnemery
Copy link
Contributor

Change proposal

Add BleakCharacteristicNotFoundError which is raised if a device does not support a characteristic

Rationale

It's not uncommon for devices to change its set of supported characteristics, for example during an initial setup.
Without a specialized exception class it's tricky to detect when this happens.

bleak/exc.py Outdated Show resolved Hide resolved
bleak/exc.py Outdated Show resolved Hide resolved
Co-authored-by: David Lechner <[email protected]>
@dlech dlech merged commit 660c3c8 into hbldh:develop Nov 18, 2023
13 checks passed
@dlech
Copy link
Collaborator

dlech commented Nov 18, 2023

merged, thanks!

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.

3 participants