mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
7814e99b6f7b96af47ecc81c036f59bc4823e7cb
PR #14255 generates calls to Component::set_setup_priority(float) from ethernet/wifi to_code(), but that method's body in core/component.cpp is gated by #ifdef USE_SETUP_PRIORITY_OVERRIDE. Without the define the declaration exists but no implementation is linked, producing: undefined reference to `esphome::Component::set_setup_priority(float)` The existing convention in cpp_helpers.register_component() is to add the define whenever CONF_SETUP_PRIORITY appears in a component's YAML. Mirror that here: when the user declares `network: priority:`, the priority-driven setup_priority overrides will be emitted, so the define must be on.
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
591 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
