diff --git a/esphome/components/network/util.cpp b/esphome/components/network/util.cpp index 03ef6d8a45..226b11b8cd 100644 --- a/esphome/components/network/util.cpp +++ b/esphome/components/network/util.cpp @@ -4,6 +4,9 @@ namespace esphome::network { +// The order of the components is important: WiFi should come after any possible main interfaces (it may be used as +// an AP that uses a previous interface for NAT). + bool is_disabled() { #ifdef USE_MODEM if (modem::global_modem_component != nullptr)