diff --git a/esphome/components/api/api_connection.cpp b/esphome/components/api/api_connection.cpp index 2a8bd7e16d..88bf91ea94 100644 --- a/esphome/components/api/api_connection.cpp +++ b/esphome/components/api/api_connection.cpp @@ -90,9 +90,6 @@ APIConnection::~APIConnection() { } void APIConnection::loop() { - if (this->remove_) - return; - if (this->next_close_) { // requested a disconnect this->helper_->close();