diff --git a/esphome/components/wifi_info/wifi_info_text_sensor.h b/esphome/components/wifi_info/wifi_info_text_sensor.h index 5aad0424913..b2242372daa 100644 --- a/esphome/components/wifi_info/wifi_info_text_sensor.h +++ b/esphome/components/wifi_info/wifi_info_text_sensor.h @@ -6,9 +6,6 @@ #include "esphome/components/wifi/wifi_component.h" #ifdef USE_WIFI #include -#ifdef USE_ESP32 -#include -#endif // USE_ESP32 namespace esphome::wifi_info {