mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 17:48:40 +00:00
fad9210cb981172d1aa1f34f2c352446f8471a7d
The Python validator enforces that wifi or ethernet is configured on ESP8266/ RP2040, so USE_WIFI_IP_STATE_LISTENERS (or the ethernet equivalent) is always requested in production, which always defines USE_MDNS_EVENT_DRIVEN_POLLING via mdns_component.h's derivation. defines.h also declares it unconditionally for static analysis. The #ifdef guards around start_polling_window_, setup()'s listener subscription, and on_ip_state were dead code — a misconfiguration should surface as a compile error, not silently strip out the method bodies.
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%
