mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 17:48:40 +00:00
4f8cfff4accdf8724693728932ede3170c9e6b84
- Drop redundant wifi_component.h / ethernet_component.h includes from the platform .cpp files — mdns_component.h already pulls them in transitively under their listener defines. - Guard initialized_ with USE_RP2040 && USE_MDNS_EVENT_DRIVEN_POLLING instead of USE_RP2040 alone, making the coupling with the listener-driven path explicit. - Short comment on mdns_pump_update noting ODR is preserved by FILTER_SOURCE_FILES compiling exactly one platform cpp per build. - Inline comment on ESP8266 setup() noting AFTER_CONNECTION priority is why the unconditional start_polling_window_() is safe. - Collapse the disabled/platform early-return in _require_network_interface; drop the redundant CORE.using_arduino check (ESP8266/RP2040 are always Arduino). - Add USE_MDNS_EVENT_DRIVEN_POLLING and USE_MDNS_WIFI_LISTENER to defines.h for static-analysis discoverability (ethernet listener is mutually exclusive with wifi on these platforms, so one representative is enough).
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
614 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
