mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 18:18:43 +00:00
The setup_<X>_core_ functions are decorated with @setup_entity, which calls finalize_entity_strings() before returning. queue_entity_register() must run before that so the combined App.register_<entity>(var, name, hash, packed) emission is selected; otherwise finalize falls back to configure_entity_ and no register call is emitted. Reported by Copilot review on PR #16030.