diff --git a/src/TimerAdaptor.js b/src/TimerAdaptor.js index d755f7a..f230a87 100644 --- a/src/TimerAdaptor.js +++ b/src/TimerAdaptor.js @@ -34,10 +34,8 @@ class TimerAdaptor extends AItem { clearTimeout(this.timer); if (this.state == 'OFF') { this.state = 'ON'; - this.overwrite = true; } else { this.state = 'OFF'; - this.overwrite = false; } mqtt.send(this.actionStateTopic, this.state, true); break;