Simplify logger integration (#37780)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Paulus SchoutsenandJ. Nick Koston authored and GitHub committed 2020-07-13 10:20:18 -07:00
1 parent 8ed1a29c82
commit 9ac1475251
8 files changed
+233 -245

No files matched your search

@@ -127,9 +127,6 @@ async def async_setup(hass, config):
netdisco = NetworkDiscovery()
already_discovered = set()
# Disable zeroconf logging, it spams
logging.getLogger("zeroconf").setLevel(logging.CRITICAL)
if DOMAIN in config:
# Platforms ignore by config
ignored_platforms = config[DOMAIN][CONF_IGNORE]