Forgot to add node status to processing node for K's timer
This commit is contained in:
@ -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])
|
||||
}
|
Reference in New Issue
Block a user