mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-05 20:38:27 +02:00
[code-quality] fix readability-braces-around-statements (#7273)
This commit is contained in:
@@ -278,10 +278,11 @@ template<typename... Ts> class RepeatAction : public Action<Ts...> {
|
||||
this->then_.add_actions(actions);
|
||||
this->then_.add_action(new LambdaAction<uint32_t, Ts...>([this](uint32_t iteration, Ts... x) {
|
||||
iteration++;
|
||||
if (iteration >= this->count_.value(x...))
|
||||
if (iteration >= this->count_.value(x...)) {
|
||||
this->play_next_tuple_(this->var_);
|
||||
else
|
||||
} else {
|
||||
this->then_.play(iteration, x...);
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user