Further cleanup
This commit is contained in:
@@ -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),
|
||||
() => {
|
||||
|
||||
Reference in New Issue
Block a user