Move setup messages from info to debug level (#141834)

move info to debug level
This commit is contained in:
Michael 2025-03-30 19:49:41 +02:00 committed by GitHub
parent 97a0b9272e
commit 663d0691a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -387,7 +387,7 @@ async def _async_setup_component(
},
)
_LOGGER.info("Setting up %s", domain)
_LOGGER.debug("Setting up %s", domain)
with async_start_setup(hass, integration=domain, phase=SetupPhases.SETUP):
if hasattr(component, "PLATFORM_SCHEMA"):
@ -783,7 +783,7 @@ def async_start_setup(
# platforms, but we only care about the longest time.
group_setup_times[phase] = max(group_setup_times[phase], time_taken)
if group is None:
_LOGGER.info(
_LOGGER.debug(
"Setup of domain %s took %.2f seconds", integration, time_taken
)
elif _LOGGER.isEnabledFor(logging.DEBUG):