From ed0ee3100d56c54f4e93f94e4e3f6bdfbb62e20c Mon Sep 17 00:00:00 2001 From: Fabian Affolter <mail@fabian-affolter.ch> Date: Sun, 22 Dec 2019 12:01:22 +0100 Subject: [PATCH] Upgrade zeroconf to 0.24.2 (#30140) --- homeassistant/components/zeroconf/__init__.py | 3 +-- homeassistant/components/zeroconf/manifest.json | 2 +- homeassistant/package_constraints.txt | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/zeroconf/__init__.py b/homeassistant/components/zeroconf/__init__.py index 18ea1fdfca7..d6be4cdf6a0 100644 --- a/homeassistant/components/zeroconf/__init__.py +++ b/homeassistant/components/zeroconf/__init__.py @@ -1,5 +1,4 @@ """Support for exposing Home Assistant via Zeroconf.""" - import ipaddress import logging import socket @@ -15,6 +14,7 @@ from zeroconf import ( from homeassistant import util from homeassistant.const import ( + ATTR_NAME, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, __version__, @@ -29,7 +29,6 @@ ATTR_HOST = "host" ATTR_PORT = "port" ATTR_HOSTNAME = "hostname" ATTR_TYPE = "type" -ATTR_NAME = "name" ATTR_PROPERTIES = "properties" ZEROCONF_TYPE = "_home-assistant._tcp.local." diff --git a/homeassistant/components/zeroconf/manifest.json b/homeassistant/components/zeroconf/manifest.json index c02ac425445..1dc1618842d 100644 --- a/homeassistant/components/zeroconf/manifest.json +++ b/homeassistant/components/zeroconf/manifest.json @@ -3,7 +3,7 @@ "name": "Zeroconf", "documentation": "https://www.home-assistant.io/integrations/zeroconf", "requirements": [ - "zeroconf==0.24.1" + "zeroconf==0.24.2" ], "dependencies": [ "api" diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index bb212b3e0b4..ce6ad36dbf0 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -24,7 +24,7 @@ ruamel.yaml==0.15.100 sqlalchemy==1.3.11 voluptuous-serialize==2.3.0 voluptuous==0.11.7 -zeroconf==0.24.1 +zeroconf==0.24.2 pycryptodome>=3.6.6 diff --git a/requirements_all.txt b/requirements_all.txt index 19b97e2521f..6919b103117 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2088,7 +2088,7 @@ youtube_dl==2019.11.28 zengge==0.2 # homeassistant.components.zeroconf -zeroconf==0.24.1 +zeroconf==0.24.2 # homeassistant.components.zha zha-quirks==0.0.28 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index ab84629f12e..0cc01b5f47f 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -653,7 +653,7 @@ ya_ma==0.3.8 yahooweather==0.10 # homeassistant.components.zeroconf -zeroconf==0.24.1 +zeroconf==0.24.2 # homeassistant.components.zha zha-quirks==0.0.28 -- GitLab