mirror of
https://github.com/esphome/esphome.git
synced 2026-09-25 14:00:25 +00:00
fad39129975c70329d9f0cb18238d6df5c7061b9
clang-tidy CI compiles with the raw esp8266-arduino-tidy env's flags — no Python codegen, and it doesn't pick up the feature defines from defines.h in the same way a real IDE does. USE_WIFI_IP_STATE_LISTENERS ends up undefined, the derivation in mdns_component.h doesn't fire, and the class doesn't declare start_polling_window_ / on_ip_state / the MDNS_POLL_* constants. Removing the guards in the platform cpps made those definitions dangle. Keep the listener-specific definitions under #ifdef USE_MDNS_EVENT_DRIVEN_POLLING. The Python validator still enforces the runtime invariant (wifi or ethernet must be present on ESP8266/RP2040), so production builds always fire through the listener path; this is purely about what the tidy compiler sees.
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
576 MiB
Languages
C++
55.6%
Python
43.8%
C
0.3%
JavaScript
0.2%
