Motion scenes

Hello All,

I have a problem with couple scenes. I have zb motion sensor, TX1C ( controlling main light), sonoff basic (controlling mirror led) and zb button (controlling S basic mirror led) in the bathroom. The scenario is the main TX off and motion detected turn on mirror LED. If no motion 2min delay and then off. If the main TX off turn off mirror light also. It was working for some time when i created the scences, but now when i turn off main TX mirror turn on automatically for some time (probably due to cool down time on motion sensor). Not sure why it changed and how to set it up correctly. Any suggestions welcome!

What about disabling/enabling the motion scenes when you trigger TX rockers?

Tried, but still the sameā€¦.