From a53efcf6468a11d96c5c762b3741fae8919333e3 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Fri, 18 Sep 2026 22:30:35 +0000 Subject: [PATCH] [core] fix capitalisation of "pin" (#19405) --- esphome/pins.py | 2 +- tests/component_tests/esp32/test_esp32.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/pins.py b/esphome/pins.py index d6393508ab..34a406c273 100644 --- a/esphome/pins.py +++ b/esphome/pins.py @@ -272,7 +272,7 @@ def check_strapping_pin(conf, strapping_pin_list: set[int], logger: Logger): num = conf[CONF_NUMBER] if num in strapping_pin_list and not conf.get(CONF_IGNORE_STRAPPING_WARNING): logger.warning( - "GPIO%s is a strapping PIN and should only be used for I/O with care.\n" + "GPIO%s is a strapping pin and should only be used for I/O with care.\n" "Attaching external pullup/down resistors to strapping pins can cause unexpected failures.\n" "See https://esphome.io/guides/faq/#why-am-i-getting-a-warning-about-strapping-pins", num, diff --git a/tests/component_tests/esp32/test_esp32.py b/tests/component_tests/esp32/test_esp32.py index a42d244ac8..3ba819dee7 100644 --- a/tests/component_tests/esp32/test_esp32.py +++ b/tests/component_tests/esp32/test_esp32.py @@ -1457,7 +1457,7 @@ def test_esp32_s31_gpio_validation( pin = {CONF_NUMBER: 36, CONF_MODE: input_mode} with caplog.at_level("WARNING"): validate_supports(pin) - assert "GPIO36 is a strapping PIN" in caplog.text + assert "GPIO36 is a strapping pin" in caplog.text _TLS_SERVER_OPTIONS = (