Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions homeassistant/components/zeroconf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
ServiceInfo,
ServiceStateChange,
Zeroconf,
log as zeroconf_log,
)

from homeassistant import util
Expand Down Expand Up @@ -114,6 +115,8 @@ def close(self):

def setup(hass, config):
"""Set up Zeroconf and make Home Assistant discoverable."""
# Zeroconf sets its log level to WARNING, reset it to allow filtering by the logger component.
zeroconf_log.setLevel(logging.NOTSET)
zeroconf = hass.data[DOMAIN] = _get_instance(
hass, config.get(DOMAIN, {}).get(CONF_DEFAULT_INTERFACE)
)
Expand Down