mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Move setup messages from info to debug level (#141834)
move info to debug level
This commit is contained in:
parent
97a0b9272e
commit
663d0691a7
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user