7 lines
141 B
JavaScript
7 lines
141 B
JavaScript
const readout = msg.duration
|
|
|
|
msg.duration = +readout.toFixed(0)
|
|
|
|
node.status({fill:"green",shape:"dot",text:msg.duration + "m"})
|
|
|
|
return msg |