diff --git a/esphome/components/api/__init__.py b/esphome/components/api/__init__.py index a7050b3683..208d0a2ee9 100644 --- a/esphome/components/api/__init__.py +++ b/esphome/components/api/__init__.py @@ -203,7 +203,7 @@ async def to_code(config): if CORE.using_esp_idf: # Enable heap tracing in sdkconfig add_idf_sdkconfig_option("CONFIG_HEAP_TRACING", True) - add_idf_sdkconfig_option("CONFIG_HEAP_TRACE_STACK_DEPTH", 10) + add_idf_sdkconfig_option("CONFIG_HEAP_TRACE_STACK_DEPTH", "30") # Set tracing mode (standalone or system) if heap_tracing_config[CONF_HEAP_TRACING_STANDALONE]: