From abbb27aa0ffbe3727fc21f7a89e7596fe8b98d3e Mon Sep 17 00:00:00 2001 From: jnuk Date: Wed, 21 Aug 2024 12:49:15 +0200 Subject: [PATCH] restore wake on touch capability according to https://github.com/esphome/issues/issues/3440 --- esphome/components/deep_sleep/deep_sleep_esp32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/deep_sleep/deep_sleep_esp32.cpp b/esphome/components/deep_sleep/deep_sleep_esp32.cpp index d54046bc11..01da3805a4 100644 --- a/esphome/components/deep_sleep/deep_sleep_esp32.cpp +++ b/esphome/components/deep_sleep/deep_sleep_esp32.cpp @@ -81,7 +81,7 @@ void DeepSleepComponent::deep_sleep_() { if (this->touch_wakeup_.has_value() && *(this->touch_wakeup_)) { esp_sleep_enable_touchpad_wakeup(); - esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON); + esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_AUTO); } #endif #if defined(USE_ESP32_VARIANT_ESP32C3) || defined(USE_ESP32_VARIANT_ESP32C6)