From 1ae4f95606ab8e2a75be9559720b3b5c89157904 Mon Sep 17 00:00:00 2001 From: Christian Weimann Date: Tue, 22 Aug 2023 07:51:10 +0200 Subject: [PATCH] Revert to ItemStateChangeTrigger --- utils/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/watch.js b/utils/watch.js index be9ff7a..97dcb30 100644 --- a/utils/watch.js +++ b/utils/watch.js @@ -150,7 +150,7 @@ class Watch { rules.JSRule({ id: this.watchRuleID, name: 'Watch rule for ' + this.#watchItem.name, - triggers: [triggers.ItemStateUpdateTrigger(this.#watchItem.name)], + triggers: [triggers.ItemStateChangeTrigger(this.#watchItem.name)], execute: (event) => { this.#processItemEvent(event) }, }); }