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 discovery for python-zeroconf 0.28+ #898

Merged
merged 1 commit into from
Jan 3, 2021

Conversation

rytilahti
Copy link
Owner

@rytilahti rytilahti commented Dec 29, 2020

python-zeroconf removed the deprecated address field (python-zeroconf/python-zeroconf#260), this PR converts to use the first address from the addresses field & bumps the required python-zeroconf version to ^0.28

This may break the discovery for older zeroconf releases, but their wording indicates that we were always using a deprecated address, the addresses has likely been available also pre-0.28 (release July 2020).

Fixes #891

@rytilahti rytilahti merged commit 3265dfa into master Jan 3, 2021
@rytilahti rytilahti deleted the fix/python_zeroconf_api_change branch January 3, 2021 20:20
@rytilahti rytilahti mentioned this pull request Mar 13, 2021
xvlady pushed a commit to xvlady/python-miio that referenced this pull request May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ServiceInfo has no attribute 'address' in miio/discovery
1 participant