I am having trouble with just a basic flag test program. I set up two macros using house code "M" The first "M1" checks flag #2 and turns on phantom appliance module M3. M3 is also a macro that clears flag #2 (off). An appliance module set as M3 graphically shows me when it is turned on. When I trigger M1, appliance module M3 turns on. I manually turn it off and trigger M1 again. At this point it should not turn on M3 since flag #2 is in a "off" state, but it does turn M3 on again. I go through this several times and have the same result. Either the flag is not getting cleared, or it is being ignored in the condition check. Below is the simple logic I have tried. I have tried storing both macros in PC and also in interface and the results are the same. Any suggestions?
M1 (macro)
Trigger conditions
M1 on and flag status on - 2
End trigger conditions
Action:
Appliance module M3 on
M3 (macro)
(no trigger conditions)
Action:
Clear flag 2
M3 appliance module (watch to see if it turns on.)