From 5db8a1d0bc8ff3da27df4581a80cf75f6500bd0c Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 2 Oct 2023 23:09:27 -0400 Subject: [PATCH] Forgot to add node status to processing node for K's timer --- kallen-timer/processing.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kallen-timer/processing.js b/kallen-timer/processing.js index c950381..d69f7c5 100644 --- a/kallen-timer/processing.js +++ b/kallen-timer/processing.js @@ -4,9 +4,12 @@ const timer = states['timer.kallen_timer'].state // Basic replacement for current entry flow if (timer === 'idle') { + node.status({fill:"green",shape:"dot",text:"Start"}) node.send([msg,null,null]) } else if (timer === 'active') { + node.status({fill:"yellow",shape:"dot",text:"Pause"}) node.send([null,msg,null]) } else if (timer === 'paused') { + node.status({fill:"green",shape:"dot",text:"Resume"}) node.send([null,null,msg]) } \ No newline at end of file