Hey PD! Welcome to TFP!
May I ask what you would like to accomplish in creating a macro for this? Sometimes knowing the desired outcome can help with the solution.
I can understand the desire for a macro like this, but I'm not sure I see the benefit. The way I see it, the SPA button is kind of the macro for this. For the IC, you can leave the heater selected on so that when you turn on SPA mode, the heater automatically kicks on. You can associate the internal heater bit with a pump speed, so that as soon as that bit is true, it will ramp the pump speed. So that covers 1-3.
That leaves us with 4, which is setting the heater setpoint to 102. The set point for the heater will stay constant when you cycle the SPA mode, or the heater, on/off. So for this I would say just leave the heater set point in your SPA mode to 102.
So if I all of the above set as described, as soon as the SPA button is pressed to turn on SPA mode (item 1 in our list), everything else happens. If you schedule SPA, and all items are set as above, it all happens without touching anything. Currently my spa is running at 96 degrees and my pump speed is 3000 RPM. That happened at 6pm which is my scheduled time for my heater to be exercised each week.
Not sure if that helps or not. Let me know.
--Jeff