New script modes POC (#1168)

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
Otto WinterandGuillermo Ruffino authored and GitHub committed 2020-07-25 14:20:51 +02:00
1 parent 275c12150e
commit 32efa5d83e
12 files changed
+226 -27

No files matched your search

@@ -19,7 +19,7 @@ void TemplateSwitch::loop() {
}
void TemplateSwitch::write_state(bool state) {
if (this->prev_trigger_ != nullptr) {
this->prev_trigger_->stop();
this->prev_trigger_->stop_action();
}
if (state) {