From bc572aeec5e61a29419d116ff75c65f5a2e3df78 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 20 Oct 2025 20:21:27 -1000 Subject: [PATCH] preen --- esphome/analyze_memory/cli.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/esphome/analyze_memory/cli.py b/esphome/analyze_memory/cli.py index e1ddd490e7..718f42330d 100644 --- a/esphome/analyze_memory/cli.py +++ b/esphome/analyze_memory/cli.py @@ -236,10 +236,11 @@ class MemoryAnalyzerCLI(MemoryAnalyzer): # Empty list - we've finished debugging symbol categorization # Add component names here if you need to debug their symbols ] - system_components = [] - for name, mem in components: - if name in system_components_to_include: - system_components.append((name, mem)) + system_components = [ + (name, mem) + for name, mem in components + if name in system_components_to_include + ] # Combine all components to analyze: top ESPHome + all external + API if not already included + system components components_to_analyze = (