mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 01:28:39 +00:00
Use brace initialization for is_transformer_active_
This commit is contained in:
@@ -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_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user