As @cymplecy Simon pointed out in another thread, you can replace the three lines in the change node with just a move of msg.payload to msg.payload.ontime
As @cymplecy Simon pointed out in another thread, you can replace the three lines in the change node with just a move of msg.payload to msg.payload.ontime