Thank you very much for the answer,
I had already seen the datasheet,
between legs 4 and 5 I had already tried them as a diode and that's fine,
among the others he had tried them as a triac,
it gives me resistance between gate and leg 2, both ways,
leg 1 with 2 and with the door nothing at all in both directions.
is that bad then?
I, from my ignorance, understand that the component works like two triac.
In a triac, the gate is a LED that activates the gate and that gives way to the gate of the other triac.
Is that so or am I wrong?