mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 04:20:56 +00:00
Format
This commit is contained in:
parent
95a74a7f19
commit
1bf55c130b
@ -463,7 +463,8 @@ LightColorValues LightCall::validate_() {
|
||||
this->transition_length_.reset();
|
||||
}
|
||||
|
||||
if (!this->has_transition_() && !this->has_flash_() && (!this->has_effect_() || *this->effect_ == 0) && supports_transition) {
|
||||
if (!this->has_transition_() && !this->has_flash_() && (!this->has_effect_() || *this->effect_ == 0) &&
|
||||
supports_transition) {
|
||||
// nothing specified and light supports transitions, set default transition length
|
||||
this->transition_length_ = this->parent_->default_transition_length_;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user