mirror of
https://github.com/esphome/esphome.git
synced 2026-10-05 10:31:29 +00:00
New script modes POC (#1168)
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
co-authored by
Guillermo Ruffino
parent
275c12150e
commit
32efa5d83e
@@ -78,7 +78,7 @@ void TimeBasedCover::control(const CoverCall &call) {
|
||||
}
|
||||
void TimeBasedCover::stop_prev_trigger_() {
|
||||
if (this->prev_command_trigger_ != nullptr) {
|
||||
this->prev_command_trigger_->stop();
|
||||
this->prev_command_trigger_->stop_action();
|
||||
this->prev_command_trigger_ = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user