What you need is to have a conditional flag in your motion sensor ON & OFF macros to prevent them from executing when you want to operate the light manually.
Somehow you have to let AHP know the light is being turned on for this mode. I don't know what type of light switch you are using, but no X10 version will provide that feedback to AHP. Therefore, to place the light in the "stay on" mode, you would need an alternate trigger.
First, create a
dummy (appliance) switch in AHP with associated ON & OFF macros:
- the ON macro would turn the light on and set the MS16A ignore flag
- the OFF Macro would turn the light off and clear the ignore flag
To trigger this mode, you would either turn the dummy switch on manually at the computer (the AHP GUI), or use an X10 remote to trigger it.