mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 19:32:19 +01:00
proceed if AP mode is set up (#6631)
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user