1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-16 10:12:21 +01:00

Allow transforms and flashes to not update remote_values (#2313)

This commit is contained in:
Matthew Mazzanti
2021-09-15 13:59:58 -04:00
committed by GitHub
parent aed140d802
commit 8f3a739da7
3 changed files with 14 additions and 8 deletions

View File

@@ -77,7 +77,7 @@ void LightCall::perform() {
ESP_LOGD(TAG, " Flash length: %.1fs", *this->flash_length_ / 1e3f);
}
this->parent_->start_flash_(v, *this->flash_length_);
this->parent_->start_flash_(v, *this->flash_length_, this->publish_);
} else if (this->has_transition_()) {
// TRANSITION
if (this->publish_) {
@@ -92,7 +92,7 @@ void LightCall::perform() {
this->parent_->stop_effect_();
}
this->parent_->start_transition_(v, *this->transition_length_);
this->parent_->start_transition_(v, *this->transition_length_, this->publish_);
} else if (this->has_effect_()) {
// EFFECT