ESPHome Warning ESPTouch November Release

After compiling for the last couple of times for the November Release of ESPHome, I noticed that I continue to get this warning.

In file included from src/esphome/components/esp32_touch/esp32_touch.h:11,
                 from src/esphome/components/esp32_touch/esp32_touch_common.cpp:3:
/data/cache/platformio/packages/framework-espidf/components/driver/touch_sensor/esp32/include/driver/touch_sensor.h:13:2: warning: #warning "This set of Touch APIs has been deprecated, please include 'driver/touch_sens.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress legacy driver deprecated warning' option under 'Touch Configuration' menu in Kconfig" [-Wcpp]
   13 | #warning "This set of Touch APIs has been deprecated, \
      |  ^~~~~~~
Compiling .pioenvs/f

Any work around on this? Will it get updated automatically?

Anyone else have this issue?

Yes, I just encountered this warning while rebuilding a device today.
Also “The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h”

Does anyone know if this is going to be resolved in future ESPhome updates or is this something manually we need to change?

Appreciate the feedback and yes that is for a light

The version I am getting is dealing with the touch sensor.

Here is my yaml:

binary_sensor:
  - platform: esp32_touch
    name: "Water Sensor Pin15"
    pin: 15
    threshold: 100

For now, it’s a warning, but eventually it’ll need to be fixed in the ESPHome code base. You can report it here if you’re up for it, I couldn’t find any existing issues for it.