1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-26 00:39:38 +01:00

Allow wifi setup to proceed when there is no sta or ap ()

This commit is contained in:
Jesse Hills
2021-06-21 09:00:16 +12:00
parent 8aec092ab6
commit d73a44c504

@@ -587,7 +587,7 @@ void WiFiComponent::retry_connect() {
} }
bool WiFiComponent::can_proceed() { bool WiFiComponent::can_proceed() {
if (this->has_ap() && !this->has_sta()) { if (!this->has_sta()) {
return true; return true;
} }
return this->is_connected(); return this->is_connected();