Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

2 participants