New script modes POC (#1168)
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user