Fix zeroconf logging level not being respected (#141601)

Removes an old logging workaround that is no longer needed

fixes #141558
This commit is contained in:
J. Nick Koston 2025-03-27 10:45:48 -10:00 committed by GitHub
parent 4c0d8ce87c
commit 9633f03ddc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,8 +145,6 @@ def _async_get_instance(hass: HomeAssistant) -> HaAsyncZeroconf:
if DOMAIN in hass.data:
return cast(HaAsyncZeroconf, hass.data[DOMAIN])
logging.getLogger("zeroconf").setLevel(logging.NOTSET)
zeroconf = HaZeroconf(**_async_get_zc_args(hass))
aio_zc = HaAsyncZeroconf(zc=zeroconf)