So in the 'group lights on' C# example, there is this command in trigger code:
Program.AddControlWidget("homegenie/generic/program");
I think this creates a widget in my dashboard which has an indicator that it is active, kind of like a switch.
Is there an equivalent command for macros? Just played with macro for first time and thought this might give a nice switch to enable "away mode". So when I press this "away mode" switch, the recorded macro would enable light control schedule, and arm the alarm system. Or maybe I should just figure out how to do it all with C#, but thought the macro might be nice for this.
Thoughts?