diff --git a/utils/watch.js b/utils/watch.js index ce48141..14fd946 100644 --- a/utils/watch.js +++ b/utils/watch.js @@ -132,7 +132,6 @@ class Watch { #compare(a, b, operator) { // Hint: a = currentState, b = targetState - switch (operator) { case '==': return (a == b); @@ -223,7 +222,6 @@ class Watch { // Create timer to run repeat alert rule if required if (this.#watchObjects[watchUUID].alertRepeat != '') { - console.log('wiederholter alert notwendig'); this.#watchObjects[watchUUID].repeatAlertTimer = actions.ScriptExecution.createTimer('repeatAlarm ' + watchUUID, time.toZDT(this.#watchObjects[watchUUID].alertDelay + this.#watchObjects[watchUUID].alertRepeat), () => {