diff --git a/esphome/components/deep_sleep/deep_sleep_esp32.cpp b/esphome/components/deep_sleep/deep_sleep_esp32.cpp index 4a15eb95f3..7927f5425c 100644 --- a/esphome/components/deep_sleep/deep_sleep_esp32.cpp +++ b/esphome/components/deep_sleep/deep_sleep_esp32.cpp @@ -75,11 +75,6 @@ bool DeepSleepComponent::prepare_to_sleep_() { } return false; } - // If we were monitoring and now can sleep, clean up - if (this->sleep_state_ == SLEEP_STATE_BLOCKED_BY_WAKEUP_PIN) { - this->cancel_interval("wakeup_pin_check"); - this->sleep_state_ = SLEEP_STATE_ENTERING_SLEEP; - } return true; }