Relay Dual control module errors

I’ve recently bought two devices and both of them presents the same error.

when I connect the module without using the external switches no problems are presents, but when I wire it with a normal electric external switch, the module starts experiencing problems turning off the conected device using any of modes: manual usign external device or using the app (yeelight and mijia). When I try to turn of the connected device, the module make at first sigth the action powering off but the blue ligth starts blinking and after a few seconds power on the device.

So the module receive the signal but “rejects” to power off the external device.

I change the module with a Aqara module with in the same position and all is working on. So, connection is no dificult for both modules, but I’m doing something wrong ?

Any help?