mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Allow wifi setup to proceed when there is no sta or ap (#1931)
This commit is contained in:
parent
c5eba21ff6
commit
40a5005d94
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ void WiFiComponent::retry_connect() {
|
|||
}
|
||||
|
||||
bool WiFiComponent::can_proceed() {
|
||||
if (this->has_ap() && !this->has_sta()) {
|
||||
if (!this->has_sta()) {
|
||||
return true;
|
||||
}
|
||||
return this->is_connected();
|
||||
|
|
Loading…
Reference in a new issue