Skip to content

Commit

Permalink
proceed if AP mode is set up (#6631)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssieb committed May 7, 2024
1 parent 1e196ba commit 5edf497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esphome/components/wifi/wifi_component.cpp
Expand Up @@ -694,7 +694,7 @@ void WiFiComponent::retry_connect() {
}

bool WiFiComponent::can_proceed() {
if (!this->has_sta() || this->state_ == WIFI_COMPONENT_STATE_DISABLED) {
if (!this->has_sta() || this->state_ == WIFI_COMPONENT_STATE_DISABLED || this->ap_setup_) {
return true;
}
return this->is_connected();
Expand Down

0 comments on commit 5edf497

Please sign in to comment.