From a28c951272edbb12710f828b6f71108772a459f7 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 12 Jun 2025 12:13:46 -0500 Subject: [PATCH] more debug --- esphome/components/esp32_touch/esp32_touch_v2.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/esphome/components/esp32_touch/esp32_touch_v2.cpp b/esphome/components/esp32_touch/esp32_touch_v2.cpp index e9ede2539c..8d378b58eb 100644 --- a/esphome/components/esp32_touch/esp32_touch_v2.cpp +++ b/esphome/components/esp32_touch/esp32_touch_v2.cpp @@ -109,8 +109,9 @@ void ESP32TouchComponent::setup() { // Start FSM touch_pad_fsm_start(); - // Wait a bit for initial measurements - vTaskDelay(10 / portTICK_PERIOD_MS); + // Wait longer for initial measurements to complete + // Need to wait for at least one full measurement cycle + vTaskDelay(100 / portTICK_PERIOD_MS); // Read initial benchmark values and set thresholds if not explicitly configured for (auto *child : this->children_) {