Touch_wakeup not working with deep_sleep

I am attempting to wake an S3-Zero from deep_sleep using touch.
I have configured the touch component with
touch_wakeup: true
I have two touch sensors (both with wakeup_threshold values specified) which are working correctly, and I can put the ESP32 into deep_sleep successfully (using the on_click event of one of the touch sensors).
However, the ESP32 does not respond to subsequent touch events and remains in deep_sleep.
I found a reference to an issue here:
[[deep_sleep] touch_wakeup capability on ESP32 by jnuk · Pull Request #7333 · esphome/esphome · GitHub]
which suggested that the ESP_PD_DOMAIN_RTC_PERIPH value must be set to ESP_PD_OPTION_AUTO in order for touch wakeup to work so I have tried esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_AUTO)
as a lambda in the boot (and also before sleeping) but this didn’t fix the issue.
Does anyone have any other suggestions about where I might be going wrong, and how to fix the issue, please?

Maybe your yaml has option
ignore_all_touches_while_sleeping: set true .
Or maybe not, who knows? :wink: