The first thing I'd try is a new housecode like Daniel says. It is possible that someone else in the neighborhood is using that code and your home is picking it up. There are blocking filters available to assist in this but you may be able to solve the problem without one. If the unit is a in-wall switch, the code can be changed by removing the rocker part of the switch.
Also, there is software avaliable that can monitor X-10 signals. This can tell you if there is a X-10 signal causing the switch to operate or if is some noise or other source.
Activehome and Commander-X have this monitor I believe. You would need a CM11A computer interface to operate this software.
Chris Couture