1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 15:23:49 +01:00

[esp32_improv] Fix state not transitioning to PROVISIONED when WiFi configured via captive portal

This commit is contained in:
J. Nick Koston
2025-10-11 12:56:28 -10:00
parent ff6191cfd4
commit a193d5b40e

View File

@@ -399,7 +399,7 @@ void ESP32ImprovComponent::on_wifi_connected_() {
this->send_response_(data); this->send_response_(data);
} else if (this->is_active() && this->state_ != improv::STATE_PROVISIONED) { } else if (this->is_active() && this->state_ != improv::STATE_PROVISIONED) {
// WiFi provisioned externally (e.g., captive portal) - just transition to provisioned // WiFi provisioned externally (e.g., captive portal) - just transition to provisioned
ESP_LOGD(TAG, "WiFi provisioned externally, transitioning to provisioned state"); ESP_LOGD(TAG, "WiFi provisioned externally");
} }
// Common actions for both cases // Common actions for both cases