From 603bde05e7c97cba08b76cee82c2c5ba8dbf74e8 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 27 Sep 2025 01:11:30 -0500 Subject: [PATCH] preen --- esphome/components/esphome/ota/ota_esphome.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/components/esphome/ota/ota_esphome.cpp b/esphome/components/esphome/ota/ota_esphome.cpp index fe2625f15e..007ff9af97 100644 --- a/esphome/components/esphome/ota/ota_esphome.cpp +++ b/esphome/components/esphome/ota/ota_esphome.cpp @@ -223,14 +223,13 @@ void ESPHomeOTAComponent::handle_handshake_() { // If password is set, move to auth phase if (!this->password_.empty()) { this->transition_ota_state_(OTAState::AUTH_SEND); - [[fallthrough]]; } else #endif { // No password, move directly to data phase this->transition_ota_state_(OTAState::DATA); - [[fallthrough]]; } + [[fallthrough]]; } #ifdef USE_OTA_PASSWORD