Forgot to add node status to processing node for K's timer

This commit is contained in:
2023-10-02 23:09:27 -04:00
parent 37466a4526
commit 5db8a1d0bc

View File

@ -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])
}