Current state of K's activity timer
This commit is contained in:
7
kallen-timer/rounding.js
Normal file
7
kallen-timer/rounding.js
Normal file
@ -0,0 +1,7 @@
|
||||
var readout = msg.duration
|
||||
|
||||
msg.duration = +readout.toFixed(0)
|
||||
|
||||
node.status({fill:"green",shape:"dot",text:msg.duration + "m"})
|
||||
|
||||
return msg
|
Reference in New Issue
Block a user