diff --git a/esphome/components/light/automation.h b/esphome/components/light/automation.h index 2dc8c08ee0..817c0e3296 100644 --- a/esphome/components/light/automation.h +++ b/esphome/components/light/automation.h @@ -24,8 +24,7 @@ template class ToggleAction : public Action { LightState *state_; }; -// Distinct empty types per field tag so [[no_unique_address]] always coalesces -// (the same empty type used multiple times is not guaranteed to share an address). +// Unique Empty per field so [[no_unique_address]] is guaranteed to coalesce. namespace light_control_detail { template struct Empty {}; } // namespace light_control_detail