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