mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-12 23:53:31 +02:00
Optimize application loop speed (#860)
* Optimize application loop speed * Also check call_loop * Remove duplicate code * Fixes
This commit is contained in:
@@ -416,8 +416,6 @@ LightColorValues LightCall::validate_() {
|
||||
if (this->brightness_.has_value())
|
||||
v.set_brightness(*this->brightness_);
|
||||
|
||||
if (this->brightness_.has_value())
|
||||
v.set_brightness(*this->brightness_);
|
||||
if (this->red_.has_value())
|
||||
v.set_red(*this->red_);
|
||||
if (this->green_.has_value())
|
||||
|
||||
Reference in New Issue
Block a user