1
0

Further cleanup

This commit is contained in:
2023-08-13 04:49:04 +02:00
parent da062f09c2
commit 2f4f0a3e19

View File

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