From 8b5b9e508b63313410151735e115dd260b0a6f03 Mon Sep 17 00:00:00 2001 From: Dominik Wagenknecht Date: Tue, 14 Feb 2023 22:09:07 +0100 Subject: [PATCH] Deep Sleep capable ports for ESP32S3 (#4230) Update to provide RTC capable ports for ESP32S3. Fresh from [espressif gpio docs](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/gpio.html) --- esphome/components/deep_sleep/__init__.py | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/esphome/components/deep_sleep/__init__.py b/esphome/components/deep_sleep/__init__.py index 8b60b4eb5f..bbd10d58c5 100644 --- a/esphome/components/deep_sleep/__init__.py +++ b/esphome/components/deep_sleep/__init__.py @@ -21,6 +21,7 @@ from esphome.components.esp32.const import ( VARIANT_ESP32, VARIANT_ESP32C3, VARIANT_ESP32S2, + VARIANT_ESP32S3, ) WAKEUP_PINS = { @@ -69,6 +70,30 @@ WAKEUP_PINS = { 20, 21, ], + VARIANT_ESP32S3: [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + ], }