From a9470bf8aad314da9fb7b06ae8ec62bc37a02acc Mon Sep 17 00:00:00 2001 From: Brandon Harvey <8107750+bharvey88@users.noreply.github.com> Date: Fri, 28 Aug 2026 12:27:04 -0500 Subject: [PATCH] Silence the strapping pin warnings on the GPIO4 and GPIO5 buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GPIO4 and GPIO5 are the Song Button 2 and Song Button 3 pins, and each warns twice at the top of every build because each is declared under deep_sleep's esp32_ext1_wakeup and again on its binary_sensor. The warning is about external pullups or pulldowns on a strapping pin. Both buttons run on the C6's internal pulldowns, so it does not apply. GPIO9's reset button already carries the same flag. No version bump: ignore_strapping_warning is read by the pin validator and never passed to codegen, so the compiled firmware is unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- Integrations/ESPHome/Core.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Integrations/ESPHome/Core.yaml b/Integrations/ESPHome/Core.yaml index 1452d55..9b981c6 100644 --- a/Integrations/ESPHome/Core.yaml +++ b/Integrations/ESPHome/Core.yaml @@ -73,10 +73,14 @@ deep_sleep: esp32_ext1_wakeup: mode: ANY_HIGH pins: + # GPIO4 and GPIO5 are C6 strapping pins; the buttons drive them through + # internal pulldowns, not external resistors, so the warning does not apply - number: GPIO4 allow_other_uses: true + ignore_strapping_warning: true - number: GPIO5 allow_other_uses: true + ignore_strapping_warning: true - number: GPIO7 allow_other_uses: true @@ -351,6 +355,7 @@ binary_sensor: input: true pulldown: true allow_other_uses: true + ignore_strapping_warning: true name: "Song Button 2" entity_category: "diagnostic" filters: @@ -401,6 +406,7 @@ binary_sensor: input: true pulldown: true allow_other_uses: true + ignore_strapping_warning: true name: "Song Button 3" entity_category: "diagnostic" filters: