Use brace initialization for is_transformer_active_

This commit is contained in:
J. Nick Koston
2026-03-23 01:17:27 -10:00
parent ffd3bb760e
commit c1b2b110c5
+1 -1
View File
@@ -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_;
};