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

Check discovered device has name attribute to prevent failure #9

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

LandOfDodd
Copy link

If discovered devices do not have a name attribute .lower will fail with:

AttributeError: 'NoneType' object has no attribute 'lower'

Fixes #8

@datbilling
Copy link

Could this PR be approved to fix the issue please, or has this project been abandoned? @Deadolus

@Deadolus
Copy link
Owner

Deadolus commented Aug 5, 2024

Hmm, last time I checked ha-beurer it would have needed a complete overhault to get it working with a new HomeAssistant API - is it working for you now?
Maybe this was just a fluke back then...

edit: I think #4 fixed the issue I had - merging yours as well.

@Deadolus Deadolus merged commit d6078e8 into Deadolus:main Aug 5, 2024
@datbilling
Copy link

Hmm, last time I checked ha-beurer it would have needed a complete overhault to get it working with a new HomeAssistant API - is it working for you now?

Maybe this was just a fluke back then...

edit: I think #4 fixed the issue I had - merging yours as well.

Ah ok. No it's not working unfortunately, it doesn't discover the device. It just asks for the Name and MAC address.

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.

Error "config flow could not be loaded..." when attempting to setup the integration
3 participants