Hello! I’m trying to make a node that sets an input_datetime to indicate a time.
I have three flow variables with different numbers in them, and I need to sum them together to set this input_datetime indicator.
I was already able to set other indicators with this function node:
let now=dayjs().add(flow.get('washer_time'), 'minutes');
msg.payload=(now.format("HH:mm:ss"));
return msg;
But now instead of getting the value of only one flow variable I need to sum three different ones, and I’m not finding the right wat to do this, so I’m grateful to have any recommendations
Thanks,
Rodrigo