From c1b2b110c5e2e7fa1c23bba026a08e9652301588 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 23 Mar 2026 01:17:27 -1000 Subject: [PATCH] Use brace initialization for is_transformer_active_ --- esphome/components/light/light_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/light/light_state.h b/esphome/components/light/light_state.h index 947436e4850..ab7f2e4df85 100644 --- a/esphome/components/light/light_state.h +++ b/esphome/components/light/light_state.h @@ -360,7 +360,7 @@ class LightState : public EntityBase, public Component { /// Whether the light value should be written in the next cycle. bool next_write_{true}; // for effects, true if a transformer (transition) is active. - bool is_transformer_active_ = false; + bool is_transformer_active_{false}; /// Restore mode of the light. LightRestoreMode restore_mode_; };