Bump zeroconf to 0.54.0 (#90744)

* Bump zeroconf to 0.54.0

fixes incorrect addresses when the server name changes

changelog: https://github.com/python-zeroconf/python-zeroconf/compare/0.53.0...0.54.0

* fix
pull/90855/head
J. Nick Koston 2023-04-03 18:02:07 -10:00 committed by Paulus Schoutsen
parent 0a74f946db
commit 0166cd082b
5 changed files with 5 additions and 4 deletions

View File

@ -574,6 +574,7 @@ def info_from_service(service: AsyncServiceInfo) -> ZeroconfServiceInfo | None:
if not host:
return None
assert service.server is not None, "server cannot be none if there are addresses"
return ZeroconfServiceInfo(
host=host,
addresses=[str(ip_addr) for ip_addr in ip_addresses],

View File

@ -8,5 +8,5 @@
"iot_class": "local_push",
"loggers": ["zeroconf"],
"quality_scale": "internal",
"requirements": ["zeroconf==0.53.0"]
"requirements": ["zeroconf==0.54.0"]
}

View File

@ -50,7 +50,7 @@ ulid-transform==0.5.1
voluptuous-serialize==2.6.0
voluptuous==0.13.1
yarl==1.8.1
zeroconf==0.53.0
zeroconf==0.54.0
# Constrain pycryptodome to avoid vulnerability
# see https://github.com/home-assistant/core/pull/16238

View File

@ -2692,7 +2692,7 @@ zamg==0.2.2
zengge==0.2
# homeassistant.components.zeroconf
zeroconf==0.53.0
zeroconf==0.54.0
# homeassistant.components.zeversolar
zeversolar==0.3.1

View File

@ -1926,7 +1926,7 @@ youless-api==1.0.1
zamg==0.2.2
# homeassistant.components.zeroconf
zeroconf==0.53.0
zeroconf==0.54.0
# homeassistant.components.zeversolar
zeversolar==0.3.1