R5 + SONOFF Dual R3

I have a problem with scenes, after clicking the button on r5 the light turns on and immediately turns off and vice versa, when turned on sometimes they immediately turn off and on again. After clicking again the light turns on/off as it should. The situation repeats from time to time. The set scene is “reversed” (when turned on turn off, when turned off turn on) Do you have any solution

Hi there, would you specify when the R5 scenes were triggered?

Can you provide the deviceid of your Dual R3 device?