An ongoing bug, as far back as I can remember, is the difficulty setting up two macros that share the same address with one set to trigger on "ON" and the other set to trigger on "OFF". Yes, I have several applications that need this ability.
My latest "adventure" with this project was setting up "D1 ON" to do one thing and "D2 OFF" to do another. I had it correct, added a step to the "D1 OFF" macro and later discovered I then had two different macros both triggering on "D1 ON". To correct the problem, I had to rename one to "E2 ON", change it to "E2 OFF" and then change it to "D2 OFF". Creating an OFF triggering macro when an ON triggering macro already exists with the code requires a similar approach.
I love my X10 stuff but you have to be willing to battle with "Murphy" to get it to work at times.