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 Franck Nijhof
parent e66416c23d
commit 3aa56936ad
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

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):