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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user