diff --git a/esphome/components/esp32_ble_client/ble_client_base.cpp b/esphome/components/esp32_ble_client/ble_client_base.cpp index a4ed3a65d1..0700d2c1be 100644 --- a/esphome/components/esp32_ble_client/ble_client_base.cpp +++ b/esphome/components/esp32_ble_client/ble_client_base.cpp @@ -314,7 +314,7 @@ bool BLEClientBase::gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_ // Service discovery period is critical - we typically have only 10s to complete // discovery before the device disconnects us. Fast connection parameters are // essential to finish service resolution in time and avoid retry loops. - if (this->connection_type_ == espbt::ConnectionType::V3_WITHOUT_CACHE) { + else if (this->connection_type_ == espbt::ConnectionType::V3_WITHOUT_CACHE) { this->set_fast_conn_params_(); } this->log_event_("Searching for services");